aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/SkSLErrorReporter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/SkSLErrorReporter.h')
-rw-r--r--src/sksl/SkSLErrorReporter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sksl/SkSLErrorReporter.h b/src/sksl/SkSLErrorReporter.h
index 172e4888d8..85d386d49c 100644
--- a/src/sksl/SkSLErrorReporter.h
+++ b/src/sksl/SkSLErrorReporter.h
@@ -4,7 +4,7 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
-
+
#ifndef SKSL_ERRORREPORTER
#define SKSL_ERRORREPORTER
@@ -20,10 +20,10 @@ public:
virtual ~ErrorReporter() {}
void error(Position position, const char* msg) {
- this->error(position, String(msg));
+ this->error(position, SkString(msg));
}
- virtual void error(Position position, String msg) = 0;
+ virtual void error(Position position, SkString msg) = 0;
virtual int errorCount() = 0;
};