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

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

Issue 2794233002: Revert of Convert colorSettins attribute in ImageData.idl to a getter method (Closed)
Patch Set: 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/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 87eab79a0285a1a54c36f1fc373159ed246e1b47..547003996aa480f67e6a5830f4481999e6d424a3 100644
--- a/third_party/WebKit/Source/core/html/ImageData.h
+++ b/third_party/WebKit/Source/core/html/ImageData.h
@@ -99,10 +99,6 @@
ImageDataColorSettings&,
ExceptionState&);
- void getColorSettings(ImageDataColorSettings& result) {
- result = m_colorSettings;
- }
-
static ImageData* createForTest(const IntSize&);
static ImageData* createForTest(const IntSize&,
DOMArrayBufferView*,
@@ -129,6 +125,12 @@
ImageDataArray& dataUnion() { return m_dataUnion; }
const ImageDataArray& dataUnion() const { return m_dataUnion; }
void dataUnion(ImageDataArray& result) { result = m_dataUnion; };
+ const ImageDataColorSettings& colorSettings() const {
+ return m_colorSettings;
+ }
+ void colorSettings(ImageDataColorSettings& result) {
+ result = m_colorSettings;
+ };
sk_sp<SkColorSpace> skColorSpace();
bool imageDataInCanvasColorSettings(const CanvasColorSpace&,

Powered by Google App Engine
This is Rietveld 408576698