Index: third_party/WebKit/Source/core/html/HTMLImageElement.idl |
diff --git a/third_party/WebKit/Source/core/html/HTMLImageElement.idl b/third_party/WebKit/Source/core/html/HTMLImageElement.idl |
index 44abb3f5a4e4036a84db01b43e178aef7a3abb74..732668c1e05624a3274cb4c3c4fe16cb69728295 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLImageElement.idl |
+++ b/third_party/WebKit/Source/core/html/HTMLImageElement.idl |
@@ -55,4 +55,6 @@ |
// https://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlimageelement-interface |
[MeasureAs=HTMLImageElementX] readonly attribute long x; |
[MeasureAs=HTMLImageElementY] readonly attribute long y; |
+ |
+ [RuntimeEnabled=JSImageDecode, CallWith=ScriptState, RaisesException] Promise decode(); |
}; |