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

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

Issue 2701153002: Pass ScriptState directly to TaskRunnerHelper::get() (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | third_party/WebKit/Source/modules/quota/DeprecatedStorageInfo.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp
diff --git a/third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp b/third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp
index f57a13668ee86f91282f465183821c5e844d5934..1e81a9636d066158a3e5b4ac0ad60603589be915 100644
--- a/third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp
+++ b/third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp
@@ -86,7 +86,7 @@ void DataTransferItem::getAsString(ScriptState* scriptState,
ExecutionContext* context = scriptState->getExecutionContext();
InspectorInstrumentation::asyncTaskScheduled(
context, "DataTransferItem.getAsString", callback);
- TaskRunnerHelper::get(TaskType::UserInteraction, context)
+ TaskRunnerHelper::get(TaskType::UserInteraction, scriptState)
->postTask(BLINK_FROM_HERE,
WTF::bind(&runGetAsStringTask, wrapWeakPersistent(context),
wrapPersistent(callback), m_item->getAsString()));
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/quota/DeprecatedStorageInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698