diff options
author | halcanary <halcanary@google.com> | 2015-03-26 06:29:03 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-26 06:29:03 -0700 |
commit | b880d7f87e0271f96e21a4d01071fbe8c9a28812 (patch) | |
tree | 1a985f81d927aa6b29c521a8ffc8e8b5c5d7943d /src/codec | |
parent | dee3df930b83751577d5a3489d402c0c9e284495 (diff) |
SkCodec: conditionally remove fInfo
Review URL: https://codereview.chromium.org/1029423005
Diffstat (limited to 'src/codec')
-rw-r--r-- | src/codec/SkCodec.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/codec/SkCodec.cpp b/src/codec/SkCodec.cpp index 015b122974..a49586ffeb 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) {} |