Index: src/sksl/SkSLCompiler.cpp |
diff --git a/src/sksl/SkSLCompiler.cpp b/src/sksl/SkSLCompiler.cpp |
index f55150c13461525683c6b77db9c29cdc6359a09e..d2ad81223e8c495e73546e4375b09f84db1b1eef 100644 |
--- a/src/sksl/SkSLCompiler.cpp |
+++ b/src/sksl/SkSLCompiler.cpp |
@@ -148,8 +148,8 @@ void Compiler::internalConvertProgram(std::string text, |
ASTDeclaration& decl = *parsed[i]; |
switch (decl.fKind) { |
case ASTDeclaration::kVar_Kind: { |
- std::unique_ptr<VarDeclaration> s = fIRGenerator->convertVarDeclaration( |
- (ASTVarDeclaration&) decl, |
+ std::unique_ptr<VarDeclarations> s = fIRGenerator->convertVarDeclarations( |
+ (ASTVarDeclarations&) decl, |
Variable::kGlobal_Storage); |
if (s) { |
result->push_back(std::move(s)); |