aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ir/SkSLVariable.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ir/SkSLVariable.h')
-rw-r--r--src/sksl/ir/SkSLVariable.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sksl/ir/SkSLVariable.h b/src/sksl/ir/SkSLVariable.h
index 2c3391dfa2..21f17bad8e 100644
--- a/src/sksl/ir/SkSLVariable.h
+++ b/src/sksl/ir/SkSLVariable.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_VARIABLE
#define SKSL_VARIABLE
@@ -27,7 +27,7 @@ struct Variable : public Symbol {
kParameter_Storage
};
- Variable(Position position, Modifiers modifiers, SkString name, const Type& type,
+ Variable(Position position, Modifiers modifiers, String name, const Type& type,
Storage storage)
: INHERITED(position, kVariable_Kind, std::move(name))
, fModifiers(modifiers)
@@ -36,7 +36,7 @@ struct Variable : public Symbol {
, fReadCount(0)
, fWriteCount(0) {}
- virtual SkString description() const override {
+ virtual String description() const override {
return fModifiers.description() + fType.fName + " " + fName;
}