Index: include/codec/SkCodec.h |
diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h |
index 93416be51ea2654d45ab5c4a13574ceee084d954..6d0557cb28d22445c9dd9de1550e8a99eea97e6a 100644 |
--- a/include/codec/SkCodec.h |
+++ b/include/codec/SkCodec.h |
@@ -11,11 +11,11 @@ |
#include "SkImageGenerator.h" |
#include "SkImageInfo.h" |
#include "SkSize.h" |
+#include "SkStream.h" |
#include "SkTemplates.h" |
#include "SkTypes.h" |
class SkData; |
-class SkStream; |
/** |
* Abstraction layer directly on top of an image codec. |
@@ -46,7 +46,9 @@ public: |
* |
* FIXME: Move to SkImageGenerator? |
*/ |
- SkISize getScaledDimensions(float desiredScale) const; |
+ SkISize getScaledDimensions(float desiredScale) const { |
+ return this->onGetScaledDimensions(desiredScale); |
+ } |
protected: |
SkCodec(const SkImageInfo&, SkStream*); |