Index: src/sksl/ir/SkSLProgram.h |
diff --git a/src/sksl/ir/SkSLProgram.h b/src/sksl/ir/SkSLProgram.h |
index 5edcfded42774b929e9d6f8ba4172804ea4ca65c..205db6e9320913bc02bf9eb877c83fbf2018a50d 100644 |
--- a/src/sksl/ir/SkSLProgram.h |
+++ b/src/sksl/ir/SkSLProgram.h |
@@ -12,6 +12,7 @@ |
#include <memory> |
#include "SkSLProgramElement.h" |
+#include "SkSLSymbolTable.h" |
namespace SkSL { |
@@ -24,13 +25,16 @@ struct Program { |
kVertex_Kind |
}; |
- Program(Kind kind, std::vector<std::unique_ptr<ProgramElement>> elements) |
+ Program(Kind kind, std::vector<std::unique_ptr<ProgramElement>> elements, |
+ std::shared_ptr<SymbolTable> symbols) |
: fKind(kind) |
- , fElements(std::move(elements)) {} |
+ , fElements(std::move(elements)) |
+ , fSymbols(symbols) {} |
Kind fKind; |
std::vector<std::unique_ptr<ProgramElement>> fElements; |
+ std::shared_ptr<SymbolTable> fSymbols; |
}; |
} // namespace |