aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ir/SkSLField.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ir/SkSLField.h')
-rw-r--r--src/sksl/ir/SkSLField.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sksl/ir/SkSLField.h b/src/sksl/ir/SkSLField.h
index 53d85e0d5b..abea730da1 100644
--- a/src/sksl/ir/SkSLField.h
+++ b/src/sksl/ir/SkSLField.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_FIELD
#define SKSL_FIELD
@@ -16,9 +16,9 @@
namespace SkSL {
-/**
- * A symbol which should be interpreted as a field access. Fields are added to the symboltable
- * whenever a bare reference to an identifier should refer to a struct field; in GLSL, this is the
+/**
+ * A symbol which should be interpreted as a field access. Fields are added to the symboltable
+ * whenever a bare reference to an identifier should refer to a struct field; in GLSL, this is the
* result of declaring anonymous interface blocks.
*/
struct Field : public Symbol {
@@ -27,7 +27,7 @@ struct Field : public Symbol {
, fOwner(owner)
, fFieldIndex(fieldIndex) {}
- virtual SkString description() const override {
+ virtual String description() const override {
return fOwner.description() + "." + fOwner.fType.fields()[fFieldIndex].fName;
}