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

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

Issue 216923004: Expose ImageData on WorkerGlobalScope. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased 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 | « LayoutTests/webexposed/global-constructors-listing-shared-worker-expected.txt ('k') | no next file » | 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 8a37a2dd1bb0edac4ddad2ca15d427f64faf162e..cbe4df39db9e09a2467522177ff858c5aaee9d49 100644
--- a/Source/core/html/ImageData.idl
+++ b/Source/core/html/ImageData.idl
@@ -30,10 +30,10 @@
Constructor(Uint8ClampedArray data, unsigned long width, [Default=Undefined] optional unsigned long height),
Constructor(unsigned long width, unsigned long height),
Custom=Wrap,
+ GlobalContext=Window&WorkerGlobalScope,
RaisesException=Constructor,
WillBeGarbageCollected,
] interface ImageData {
readonly attribute long width;
readonly attribute long height;
};
-
« no previous file with comments | « LayoutTests/webexposed/global-constructors-listing-shared-worker-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698