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

Unified Diff: include/codec/SkCodec.h

Issue 980903002: Option for SkCodec to treat dst as all zeroes. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Pass ZeroInitialized to getPixels in Options. Created 5 years, 9 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
Index: include/codec/SkCodec.h
diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h
index beb9cb97b32bdb51bed7cc4d76d24b968fe0858d..e1a1ded3932bc3ad5515a1080088975bfd37a2b6 100644
--- a/include/codec/SkCodec.h
+++ b/include/codec/SkCodec.h
@@ -85,8 +85,8 @@ protected:
bool SK_WARN_UNUSED_RESULT rewindIfNeeded();
private:
- const SkImageInfo fInfo;
+ const SkImageInfo fInfo;
SkAutoTDelete<SkStream> fStream;
- bool fNeedsRewind;
+ bool fNeedsRewind;
};
#endif // SkCodec_DEFINED

Powered by Google App Engine
This is Rietveld 408576698