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

Unified Diff: Source/platform/exported/WebSchedulerProxy.cpp

Issue 540373002: Add support for Low Priorirty tasks. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Maybe fix linker issue Created 6 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
« no previous file with comments | « no previous file | Source/platform/scheduler/Scheduler.h » ('j') | Source/platform/scheduler/Scheduler.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/exported/WebSchedulerProxy.cpp
diff --git a/Source/platform/exported/WebSchedulerProxy.cpp b/Source/platform/exported/WebSchedulerProxy.cpp
index 016abb0248d2e33a302623af6ab3312e2b3520cb..172733cf8d4674e5f45a0d27c33ded96dbc7bf52 100644
--- a/Source/platform/exported/WebSchedulerProxy.cpp
+++ b/Source/platform/exported/WebSchedulerProxy.cpp
@@ -49,4 +49,10 @@ void WebSchedulerProxy::postCompositorTask(const WebTraceLocation& webLocation,
m_scheduler->postCompositorTask(location, bind(&runTask, adoptPtr(task)));
}
+void WebSchedulerProxy::postIpcTask(const WebTraceLocation& webLocation, WebThread::Task* task)
+{
+ TraceLocation location(webLocation.functionName(), webLocation.fileName());
+ m_scheduler->postIpcTask(location, bind(&runTask, adoptPtr(task)));
+}
+
} // namespace blink
« no previous file with comments | « no previous file | Source/platform/scheduler/Scheduler.h » ('j') | Source/platform/scheduler/Scheduler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698