aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar tomhudson <tomhudson@google.com>2015-03-24 13:47:41 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-24 13:47:41 -0700
commit7aa846c6837f527067e7ab5fdeacdbd502696382 (patch)
tree79119d6e358754fe32dbb4a025a4f0273ba2719c /include
parent48dc6dc52ecfcc1e0cfd75f637d55c03e4d6bcb2 (diff)
Revert of Enabling ico decoding with use of png and bmp decoders (patchset #10 id:280001 of https://codereview.chromium.org/1011343003/)
Reason for revert: Reverting on suspicion of massive bot failures - possible command line too long? Original issue's description: > Enabling ico decoding with use of png and bmp decoders > > BUG=skia:3257 > > Committed: https://skia.googlesource.com/skia/+/15bfd075d38e4422a477e22940d06a137f66cc97 TBR=scroggo@google.com,reed@google.com,djsollen@google.com,msarett@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia:3257 Review URL: https://codereview.chromium.org/1022843005
Diffstat (limited to 'include')
-rw-r--r--include/codec/SkCodec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h
index c3840354f1..ec4b3e1cc8 100644
--- a/include/codec/SkCodec.h
+++ b/include/codec/SkCodec.h
@@ -71,6 +71,9 @@ protected:
}
#endif
+ // Helper for subclasses.
+ const SkImageInfo& getOriginalInfo() { return fInfo; }
+
virtual SkISize onGetScaledDimensions(float /* desiredScale */) const {
// By default, scaling is not supported.
return fInfo.dimensions();