Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(349)

Unified Diff: include/core/SkStream.h

Issue 185263012: DM: read image files without an extra copy (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: three-lnies Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dm/DMWriteTask.cpp ('k') | src/core/SkStream.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkStream.h
diff --git a/include/core/SkStream.h b/include/core/SkStream.h
index 50ed691e5ae4b0e26a882850141b60aa1bba1cca..6e0ab569d5eb5a023a0044f94ed117d6c73fcf37 100644
--- a/include/core/SkStream.h
+++ b/include/core/SkStream.h
@@ -363,6 +363,7 @@ public:
*/
bool isValid() const { return fFILE != NULL; }
+ size_t bytesWritten() const;
reed1 2014/03/05 13:23:46 We have this on several WStreams. I wonder if its
virtual bool write(const void* buffer, size_t size) SK_OVERRIDE;
virtual void flush() SK_OVERRIDE;
« no previous file with comments | « dm/DMWriteTask.cpp ('k') | src/core/SkStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698