Index: Source/platform/graphics/Image.h |
diff --git a/Source/platform/graphics/Image.h b/Source/platform/graphics/Image.h |
index afe4e96b5339e58a245bc3710485baa27a18792b..9ce321aecd348438217877392990d2074ade5be6 100644 |
--- a/Source/platform/graphics/Image.h |
+++ b/Source/platform/graphics/Image.h |
@@ -33,7 +33,6 @@ |
#include "platform/graphics/GraphicsTypes.h" |
#include "platform/graphics/ImageAnimationPolicy.h" |
#include "platform/graphics/ImageOrientation.h" |
-#include "platform/graphics/skia/NativeImageSkia.h" |
#include "third_party/skia/include/core/SkXfermode.h" |
#include "wtf/Assertions.h" |
#include "wtf/PassRefPtr.h" |
@@ -42,6 +41,7 @@ |
#include "wtf/RetainPtr.h" |
#include "wtf/text/WTFString.h" |
+class SkBitmap; |
class SkImage; |
namespace blink { |
@@ -126,7 +126,7 @@ public: |
enum TileRule { StretchTile, RoundTile, SpaceTile, RepeatTile }; |
- virtual PassRefPtr<NativeImageSkia> nativeImageForCurrentFrame() { return nullptr; } |
+ virtual bool bitmapForCurrentFrame(SkBitmap*) WARN_UNUSED_RETURN; |
virtual PassRefPtr<Image> imageForDefaultFrame(); |