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

Unified Diff: Source/platform/graphics/Image.h

Issue 1008243003: Nuke NativeImageSkia -- new version. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Convert BitmapImage::createFrameAtIndex() to Skia-style 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
Index: Source/platform/graphics/Image.h
diff --git a/Source/platform/graphics/Image.h b/Source/platform/graphics/Image.h
index afe4e96b5339e58a245bc3710485baa27a18792b..76be223ecf8d08241fedcd19ea743d16d3a0376f 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*);
virtual PassRefPtr<Image> imageForDefaultFrame();

Powered by Google App Engine
This is Rietveld 408576698