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

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

Issue 2727133002: Remove ColorBehavior argument to Image::imageForCurrentFrame (Closed)
Patch Set: Rebase Created 3 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: third_party/WebKit/Source/platform/graphics/Image.h
diff --git a/third_party/WebKit/Source/platform/graphics/Image.h b/third_party/WebKit/Source/platform/graphics/Image.h
index 41289e1481e86cbd2e75487b30568778975ad868..f0199925a7f19ea4d0160712ac02ecf8613154a4 100644
--- a/third_party/WebKit/Source/platform/graphics/Image.h
+++ b/third_party/WebKit/Source/platform/graphics/Image.h
@@ -31,7 +31,6 @@
#include "platform/SharedBuffer.h"
#include "platform/geometry/IntRect.h"
#include "platform/graphics/Color.h"
-#include "platform/graphics/ColorBehavior.h"
#include "platform/graphics/GraphicsTypes.h"
#include "platform/graphics/ImageAnimationPolicy.h"
#include "platform/graphics/ImageObserver.h"
@@ -152,7 +151,7 @@ class PLATFORM_EXPORT Image : public ThreadSafeRefCounted<Image> {
enum TileRule { StretchTile, RoundTile, SpaceTile, RepeatTile };
- virtual sk_sp<SkImage> imageForCurrentFrame(const ColorBehavior&) = 0;
+ virtual sk_sp<SkImage> imageForCurrentFrame() = 0;
virtual PassRefPtr<Image> imageForDefaultFrame();
enum ImageClampingMode {
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp ('k') | third_party/WebKit/Source/platform/graphics/Image.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698