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

Unified Diff: third_party/WebKit/Source/platform/Timer.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
Index: third_party/WebKit/Source/platform/Timer.cpp
diff --git a/third_party/WebKit/Source/platform/Timer.cpp b/third_party/WebKit/Source/platform/Timer.cpp
index a1612d500de21ccf86b297c9e4f369a425b85fbd..781095c413af7985a241e37d3747e03f17463391 100644
--- a/third_party/WebKit/Source/platform/Timer.cpp
+++ b/third_party/WebKit/Source/platform/Timer.cpp
@@ -88,7 +88,7 @@ double TimerBase::NextFireInterval() const {
void TimerBase::MoveToNewTaskRunner(RefPtr<WebTaskRunner> task_runner) {
#if DCHECK_IS_ON()
DCHECK_EQ(thread_, CurrentThread());
- DCHECK(task_runner->RunsTasksOnCurrentThread());
+ DCHECK(task_runner->RunsTasksInCurrentSequence());
#endif
// If the underlying task runner stays the same, ignore it.
if (web_task_runner_->ToSingleThreadTaskRunner() ==
« no previous file with comments | « third_party/WebKit/Source/core/loader/SubresourceFilter.cpp ('k') | third_party/WebKit/Source/platform/WebTaskRunner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698