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

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

Issue 1331533002: [poc] curve-filter Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix CanvasRenderingContext2D::createPattern crash for #40 Created 4 years, 11 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/ImageBuffer.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
index 5e5d5ea796f9d0f351ddcd4d554920e285913d9a..0b595c467565b5cc198342eb44576058c4f7e77e 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
@@ -45,6 +45,8 @@
#include "wtf/Vector.h"
#include "wtf/text/WTFString.h"
+class SkColorFilter;
+
namespace WTF {
class ArrayBufferContents;
@@ -130,7 +132,7 @@ public:
PassRefPtr<SkImage> newSkImageSnapshot(AccelerationHint) const;
PassRefPtr<Image> newImageSnapshot(AccelerationHint = PreferNoAcceleration) const;
- void draw(GraphicsContext&, const FloatRect&, const FloatRect*, SkXfermode::Mode);
+ void draw(GraphicsContext&, const FloatRect&, const FloatRect*, SkXfermode::Mode, SkColorFilter* transform);
void updateGPUMemoryUsage() const;
static intptr_t getGlobalGPUMemoryUsage() { return s_globalGPUMemoryUsage; }
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/Image.cpp ('k') | third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698