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

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

Issue 2759113003: Fixing bad casting between DOMTypedArray objects (Closed)
Patch Set: Fixing layout tests fails 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 392ad60055bfb4e7547e39ad08982383115795d2..249eca653e8d27326b2883a277420913eb51d4b8 100644
--- a/third_party/WebKit/Source/core/html/ImageData.h
+++ b/third_party/WebKit/Source/core/html/ImageData.h
@@ -143,7 +143,8 @@ class CORE_EXPORT ImageData final : public GarbageCollectedFinalized<ImageData>,
private:
ImageData(const IntSize&,
DOMArrayBufferView*,
- const ImageDataColorSettings* = nullptr);
+ const ImageDataColorSettings* = nullptr,
+ bool = false);
Justin Novosad 2017/03/21 15:20:43 To improve readability, please use an enum instead
zakerinasab 2017/03/21 15:48:14 Done.
IntSize m_size;
ImageDataColorSettings m_colorSettings;

Powered by Google App Engine
This is Rietveld 408576698