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

Unified Diff: src/codec/SkCodec.cpp

Issue 1029423005: SkCodec: conditionally remove fInfo (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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
« no previous file with comments | « include/codec/SkCodec.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/codec/SkCodec.cpp
diff --git a/src/codec/SkCodec.cpp b/src/codec/SkCodec.cpp
index 015b1229747f7e7aec98c21062ecf4cf6e7a31e7..a49586ffeb1ecf6ff337b1dc12fd0fe8120be113 100644
--- a/src/codec/SkCodec.cpp
+++ b/src/codec/SkCodec.cpp
@@ -49,7 +49,9 @@ SkCodec* SkCodec::NewFromData(SkData* data) {
SkCodec::SkCodec(const SkImageInfo& info, SkStream* stream)
: INHERITED(info)
+#ifdef SK_SUPPORT_LEGACY_BOOL_ONGETINFO
, fInfo(info)
+#endif
, fStream(stream)
, fNeedsRewind(false)
{}
« no previous file with comments | « include/codec/SkCodec.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698