aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ast/SkSLASTType.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ast/SkSLASTType.h')
-rw-r--r--src/sksl/ast/SkSLASTType.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sksl/ast/SkSLASTType.h b/src/sksl/ast/SkSLASTType.h
index b8fdedb214..81594000e5 100644
--- a/src/sksl/ast/SkSLASTType.h
+++ b/src/sksl/ast/SkSLASTType.h
@@ -19,16 +19,16 @@ struct ASTType : public ASTPositionNode {
kStruct_Kind
};
- ASTType(Position position, std::string name, Kind kind)
+ ASTType(Position position, SkString name, Kind kind)
: INHERITED(position)
, fName(std::move(name))
, fKind(kind) {}
- std::string description() const override {
+ SkString description() const override {
return fName;
}
- const std::string fName;
+ const SkString fName;
const Kind fKind;