diff options
Diffstat (limited to 'src/sksl/ast/SkSLASTType.h')
-rw-r--r-- | src/sksl/ast/SkSLASTType.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sksl/ast/SkSLASTType.h b/src/sksl/ast/SkSLASTType.h index b95c3d7a0b..57a8025b7b 100644 --- a/src/sksl/ast/SkSLASTType.h +++ b/src/sksl/ast/SkSLASTType.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_ASTTYPE #define SKSL_ASTTYPE @@ -21,17 +21,17 @@ struct ASTType : public ASTPositionNode { kStruct_Kind }; - ASTType(Position position, SkString name, Kind kind, std::vector<int> sizes) + ASTType(Position position, String name, Kind kind, std::vector<int> sizes) : INHERITED(position) , fName(std::move(name)) , fKind(kind) , fSizes(std::move(sizes)) {} - SkString description() const override { + String description() const override { return fName; } - const SkString fName; + const String fName; const Kind fKind; |