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

Unified Diff: third_party/WebKit/Source/core/fileapi/URLFileAPI.idl

Issue 2656343002: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: Few more Created 3 years, 11 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/fileapi/URLFileAPI.idl
diff --git a/third_party/WebKit/Source/core/fileapi/URLFileAPI.idl b/third_party/WebKit/Source/core/fileapi/URLFileAPI.idl
index c2e86a7a7f174353d4586b6d88008b8015846915..7f7872cf63f77a49a0737d8ddd633386a927e6c8 100644
--- a/third_party/WebKit/Source/core/fileapi/URLFileAPI.idl
+++ b/third_party/WebKit/Source/core/fileapi/URLFileAPI.idl
@@ -4,8 +4,8 @@
// https://w3c.github.io/FileAPI/#creating-revoking
partial interface URL {
- [Exposed=(Window,DedicatedWorker,SharedWorker), CallWith=ExecutionContext, RaisesException] static DOMString createObjectURL(Blob blob);
+ [Exposed=(Window,DedicatedWorker,SharedWorker), CallWith=ScriptState, RaisesException] static DOMString createObjectURL(Blob blob);
// TODO(jsbell): Implement createFor(). https://crbug.com/608460
//static DOMString createFor(Blob blob);
- [Exposed=(Window,DedicatedWorker,SharedWorker), CallWith=ExecutionContext] static void revokeObjectURL(DOMString url);
+ [Exposed=(Window,DedicatedWorker,SharedWorker), CallWith=ScriptState] static void revokeObjectURL(DOMString url);
};

Powered by Google App Engine
This is Rietveld 408576698