Index: gm/gmmain.cpp |
=================================================================== |
--- gm/gmmain.cpp (revision 8173) |
+++ gm/gmmain.cpp (working copy) |
@@ -282,7 +282,7 @@ |
const SkDynamicMemoryWStream& document) { |
SkFILEWStream stream(path.c_str()); |
SkAutoDataUnref data(document.copyToData()); |
epoger
2013/03/15 17:01:46
Filed https://code.google.com/p/skia/issues/detail
|
- return stream.writeData(data.get()); |
+ return stream.write(data.get()->data(), data.get()->size()); |
epoger
2013/03/15 17:01:46
Also, Mike... does stream.write() guarantee that i
epoger
2013/03/28 20:20:44
The last question here is whether write() is guara
|
} |
/** |