aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/SkSLUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/SkSLUtil.cpp')
-rw-r--r--src/sksl/SkSLUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sksl/SkSLUtil.cpp b/src/sksl/SkSLUtil.cpp
index c715cf1d09..49d37e3056 100644
--- a/src/sksl/SkSLUtil.cpp
+++ b/src/sksl/SkSLUtil.cpp
@@ -27,7 +27,7 @@ void sksl_abort() {
}
void write_stringstream(const StringStream& s, OutputStream& out) {
- out.write(s.data(), s.size());
+ out.write(s.str().c_str(), s.str().size());
}
} // namespace