diff options
Diffstat (limited to 'src/sksl/ir/SkSLSymbolTable.h')
-rw-r--r-- | src/sksl/ir/SkSLSymbolTable.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sksl/ir/SkSLSymbolTable.h b/src/sksl/ir/SkSLSymbolTable.h index df8dc713ae..5d3aebc266 100644 --- a/src/sksl/ir/SkSLSymbolTable.h +++ b/src/sksl/ir/SkSLSymbolTable.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_SYMBOLTABLE #define SKSL_SYMBOLTABLE @@ -31,11 +31,11 @@ public: : fParent(parent) , fErrorReporter(errorReporter) {} - const Symbol* operator[](const SkString& name); + const Symbol* operator[](const String& name); - void add(const SkString& name, std::unique_ptr<Symbol> symbol); + void add(const String& name, std::unique_ptr<Symbol> symbol); - void addWithoutOwnership(const SkString& name, const Symbol* symbol); + void addWithoutOwnership(const String& name, const Symbol* symbol); Symbol* takeOwnership(Symbol* s); @@ -48,7 +48,7 @@ private: std::vector<std::unique_ptr<Symbol>> fOwnedPointers; - std::unordered_map<SkString, const Symbol*> fSymbols; + std::unordered_map<String, const Symbol*> fSymbols; ErrorReporter& fErrorReporter; }; |