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

Unified Diff: third_party/WebKit/Source/core/clipboard/DataTransferItem.idl

Issue 2616923002: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: Fix errors 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/clipboard/DataTransferItem.idl
diff --git a/third_party/WebKit/Source/core/clipboard/DataTransferItem.idl b/third_party/WebKit/Source/core/clipboard/DataTransferItem.idl
index f30a2ca71e0059420af7d81a84681153c99eef60..01f506560d36146dea61e2a6caa1dc7d7c85604b 100644
--- a/third_party/WebKit/Source/core/clipboard/DataTransferItem.idl
+++ b/third_party/WebKit/Source/core/clipboard/DataTransferItem.idl
@@ -34,7 +34,7 @@ interface DataTransferItem {
readonly attribute DOMString kind;
readonly attribute DOMString type;
// TODO(foolip): The callback argument should be a FunctionStringCallback.
- [CallWith=ExecutionContext] void getAsString(StringCallback? callback);
+ [CallWith=ScriptState] void getAsString(StringCallback? callback);
// TODO(foolip): getAsFile() should return a File object. crbug.com/361145
Blob? getAsFile();
};
« no previous file with comments | « third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp ('k') | third_party/WebKit/Source/core/dom/DOMStringList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698