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

Unified Diff: third_party/WebKit/Source/platform/scheduler/child/webthread_base.cc

Issue 2276353002: Remove after wakeup logic and replace PumpTask with Fences (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Slight simplification Created 4 years, 3 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/scheduler/child/webthread_base.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/child/webthread_base.cc b/third_party/WebKit/Source/platform/scheduler/child/webthread_base.cc
index 6dc2726db9466569108093ca9f6eff61a341c14e..bbab80db662de16438f004cc847618cceea46eee 100644
--- a/third_party/WebKit/Source/platform/scheduler/child/webthread_base.cc
+++ b/third_party/WebKit/Source/platform/scheduler/child/webthread_base.cc
@@ -95,14 +95,6 @@ void WebThreadBase::postIdleTask(const blink::WebTraceLocation& location,
base::Passed(base::WrapUnique(idle_task))));
}
-void WebThreadBase::postIdleTaskAfterWakeup(
- const blink::WebTraceLocation& location,
- IdleTask* idle_task) {
- GetIdleTaskRunner()->PostIdleTaskAfterWakeup(
- location, base::Bind(&WebThreadBase::RunWebThreadIdleTask,
- base::Passed(base::WrapUnique(idle_task))));
-}
-
bool WebThreadBase::isCurrentThread() const {
return GetTaskRunner()->BelongsToCurrentThread();
}

Powered by Google App Engine
This is Rietveld 408576698