| Index: third_party/WebKit/Source/core/html/ImageData.idl
|
| diff --git a/third_party/WebKit/Source/core/html/ImageData.idl b/third_party/WebKit/Source/core/html/ImageData.idl
|
| index 38051b047cbef49ce98acf3098f6448f702079d7..d52d253a70049da153f86574ce21973a3bae0ad3 100644
|
| --- a/third_party/WebKit/Source/core/html/ImageData.idl
|
| +++ b/third_party/WebKit/Source/core/html/ImageData.idl
|
| @@ -27,9 +27,6 @@
|
| */
|
|
|
| // https://html.spec.whatwg.org/#dom-imagedata
|
| -// https://github.com/junov/CanvasColorSpace/blob/master/CanvasColorSpaceProposal.md#imagedata
|
| -
|
| -enum ImageDataColorSpace { "legacy-srgb", "srgb", "linear-rgb" };
|
|
|
| [
|
| Constructor(unsigned long sw, unsigned long sh),
|
| @@ -37,13 +34,8 @@
|
| Exposed=(Window,Worker),
|
| RaisesException=Constructor,
|
| ] interface ImageData {
|
| -
|
| - [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] ImageData createImageData(unsigned long sw, unsigned long sh, ImageDataColorSpace colorSpace);
|
| - [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] ImageData createImageData(Uint8ClampedArray data, unsigned long sw, ImageDataColorSpace colorSpace);
|
| - [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] ImageData createImageData(Uint8ClampedArray data, unsigned long sw, unsigned long sh, ImageDataColorSpace colorSpace);
|
| -
|
| readonly attribute unsigned long width;
|
| readonly attribute unsigned long height;
|
| - readonly attribute Uint8ClampedArray data;
|
| - readonly attribute ImageDataColorSpace colorSpace;
|
| + // TODO(foolip): Expose data.
|
| + // readonly attribute Uint8ClampedArray data;
|
| };
|
|
|