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

Unified Diff: Source/core/html/ImageData.idl

Issue 196343032: Implement ImageData constructors. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Restrict feature test to the actual constructor(s) Created 6 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
« no previous file with comments | « Source/core/html/ImageData.cpp ('k') | Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/ImageData.idl
diff --git a/Source/core/html/ImageData.idl b/Source/core/html/ImageData.idl
index 06847999097b6b94586674ca8ec7d7459cefe45b..47c13ad9045166e80ed50a221ce652e0ae28fd44 100644
--- a/Source/core/html/ImageData.idl
+++ b/Source/core/html/ImageData.idl
@@ -27,7 +27,10 @@
*/
[
+ Constructor(Uint8ClampedArray data, unsigned long width, [Default=Undefined] optional unsigned long height),
+ Constructor(unsigned long width, unsigned long height),
Custom=Wrap,
+ RaisesException=Constructor,
] interface ImageData {
readonly attribute long width;
readonly attribute long height;
« no previous file with comments | « Source/core/html/ImageData.cpp ('k') | Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698