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

Unified Diff: third_party/WebKit/Source/core/html/ImageData.h

Issue 2797213002: Fix BaseRenderingContext2D create/put/get-ImageData() for color managed canvas (Closed)
Patch Set: Rebaseline Created 3 years, 8 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/core/html/ImageData.h
diff --git a/third_party/WebKit/Source/core/html/ImageData.h b/third_party/WebKit/Source/core/html/ImageData.h
index e0ffd1d2a46ad38cd1378adbd4a30d247448a38d..6f1fcdce2029341943841d0f785345f2c9957cdd 100644
--- a/third_party/WebKit/Source/core/html/ImageData.h
+++ b/third_party/WebKit/Source/core/html/ImageData.h
@@ -89,15 +89,15 @@ class CORE_EXPORT ImageData final : public GarbageCollectedFinalized<ImageData>,
unsigned height,
ExceptionState&);
- ImageData* createImageData(unsigned width,
- unsigned height,
- const ImageDataColorSettings&,
- ExceptionState&);
- ImageData* createImageData(ImageDataArray&,
- unsigned width,
- unsigned height,
- ImageDataColorSettings&,
- ExceptionState&);
+ static ImageData* createImageData(unsigned width,
+ unsigned height,
+ const ImageDataColorSettings&,
+ ExceptionState&);
+ static ImageData* createImageData(ImageDataArray&,
+ unsigned width,
+ unsigned height,
+ ImageDataColorSettings&,
+ ExceptionState&);
void getColorSettings(ImageDataColorSettings& result) {
result = color_settings_;

Powered by Google App Engine
This is Rietveld 408576698