Index: src/sksl/SkSLIRGenerator.cpp |
diff --git a/src/sksl/SkSLIRGenerator.cpp b/src/sksl/SkSLIRGenerator.cpp |
index db033d63b99836ee598a55cb8bc63b7213dc0f13..9b0271b0bbe7e468074853194fb6e47c0ce9d69b 100644 |
--- a/src/sksl/SkSLIRGenerator.cpp |
+++ b/src/sksl/SkSLIRGenerator.cpp |
@@ -487,7 +487,7 @@ std::unique_ptr<InterfaceBlock> IRGenerator::convertInterfaceBlock(const ASTInte |
Variable::kGlobal_Storage); |
for (size_t j = 0; j < decl->fVars.size(); j++) { |
fields.push_back(Type::Field(decl->fVars[j]->fModifiers, decl->fVars[j]->fName, |
- decl->fVars[j]->fType)); |
+ &decl->fVars[j]->fType)); |
if (decl->fValues[j]) { |
fErrors.error(decl->fPosition, |
"initializers are not permitted on interface block fields"); |