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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/ImageDecoder.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/image-decoders/ImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h
index 2ebd7797caf99844abc34018d95e42f885f8b453..4fd070ec29521dfdf72522d55b65e76e3cca4002 100644
--- a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h
+++ b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h
@@ -30,6 +30,7 @@
#include "SkColorPriv.h"
#include "platform/PlatformExport.h"
#include "platform/SharedBuffer.h"
+#include "platform/graphics/ColorSpaceProfile.h"
#include "platform/graphics/ImageOrientation.h"
#include "platform/image-decoders/ImageAnimation.h"
#include "platform/image-decoders/ImageFrame.h"
@@ -196,6 +197,7 @@ public:
bool ignoresGammaAndColorProfile() const { return m_ignoreGammaAndColorProfile; }
virtual bool hasColorProfile() const { return false; }
+ virtual PassRefPtr<ColorSpaceProfile> colorProfile() const { return nullptr; }
#if USE(QCMSLIB)
enum { iccColorProfileHeaderLength = 128 };

Powered by Google App Engine
This is Rietveld 408576698