aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/SkSLCodeGenerator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/SkSLCodeGenerator.h')
-rw-r--r--src/sksl/SkSLCodeGenerator.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sksl/SkSLCodeGenerator.h b/src/sksl/SkSLCodeGenerator.h
index 7bf857d0ba..211cf0aadf 100644
--- a/src/sksl/SkSLCodeGenerator.h
+++ b/src/sksl/SkSLCodeGenerator.h
@@ -9,8 +9,6 @@
#define SKSL_CODEGENERATOR
#include "ir/SkSLProgram.h"
-#include <vector>
-#include <ostream>
namespace SkSL {
@@ -22,7 +20,7 @@ class CodeGenerator {
public:
virtual ~CodeGenerator() {}
- virtual void generateCode(const Program& program, std::ostream& out) = 0;
+ virtual void generateCode(const Program& program, SkWStream& out) = 0;
};
} // namespace