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

Unified Diff: third_party/WebKit/Source/core/loader/SubresourceFilter.cpp

Issue 2959613002: Rename TaskRunner::RunsTasksOnCurrentThread() in //third_party (Closed)
Patch Set: Remove comments Created 3 years, 6 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/platform/Timer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/SubresourceFilter.cpp
diff --git a/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp b/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp
index 393060517498c4a1dd55c96366ecce771b805679..658e00c654349307fb1428a74fba35bc9ecf1dec 100644
--- a/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp
+++ b/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp
@@ -69,7 +69,7 @@ bool SubresourceFilter::AllowWebSocketConnection(const KURL& url) {
// preloads) happening here.
RefPtr<WebTaskRunner> task_runner = TaskRunnerHelper::Get(
TaskType::kNetworking, document_loader_->GetFrame());
- DCHECK(task_runner->RunsTasksOnCurrentThread());
+ DCHECK(task_runner->RunsTasksInCurrentSequence());
task_runner->PostTask(BLINK_FROM_HERE,
WTF::Bind(&SubresourceFilter::ReportLoad,
WrapPersistent(this), url, load_policy));
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/Timer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698