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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageSource.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/ImageSource.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageSource.h b/third_party/WebKit/Source/platform/graphics/ImageSource.h
index 3e5d183be8f9a51eafe28f1fba9810eb2654e703..3704b3bb664c37dfb9dfc4c0034e834abd192c77 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageSource.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageSource.h
@@ -27,6 +27,7 @@
#define ImageSource_h
#include "platform/PlatformExport.h"
+#include "platform/graphics/ColorSpaceProfile.h"
#include "platform/graphics/ImageOrientation.h"
#include "wtf/Forward.h"
#include "wtf/Noncopyable.h"
@@ -74,6 +75,7 @@ public:
bool isSizeAvailable();
bool hasColorProfile() const;
+ PassRefPtr<ColorSpaceProfile> colorProfile() const;
IntSize size(RespectImageOrientationEnum = DoNotRespectImageOrientation) const;
IntSize frameSizeAtIndex(size_t, RespectImageOrientationEnum = DoNotRespectImageOrientation) const;

Powered by Google App Engine
This is Rietveld 408576698