Index: src/sksl/SkSLCodeGenerator.h |
diff --git a/src/sksl/SkSLCodeGenerator.h b/src/sksl/SkSLCodeGenerator.h |
index cd50cc88fcb145baf79a125624c39ff778a43a41..7fa8c1931a9f4a87c8c17cfccea7a3823d1bef78 100644 |
--- a/src/sksl/SkSLCodeGenerator.h |
+++ b/src/sksl/SkSLCodeGenerator.h |
@@ -20,9 +20,9 @@ namespace SkSL { |
*/ |
class CodeGenerator { |
public: |
- virtual ~CodeGenerator() {} |
- |
- virtual void generateCode(Program& program, std::ostream& out) = 0; |
+ virtual ~CodeGenerator() {} |
+ |
+ virtual void generateCode(const Program& program, std::ostream& out) = 0; |
}; |
} // namespace |