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

Unified Diff: cc/scheduler/scheduler.h

Issue 1165853002: Pipe impl_latency_takes_priority_ to the RenderScheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 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: cc/scheduler/scheduler.h
diff --git a/cc/scheduler/scheduler.h b/cc/scheduler/scheduler.h
index 98e92c0d3063569d69b31fd8be69f6803f129f64..12ac03ebd67d0b505058d5e4359b5c95f4c5f56c 100644
--- a/cc/scheduler/scheduler.h
+++ b/cc/scheduler/scheduler.h
@@ -152,6 +152,9 @@ class CC_EXPORT Scheduler : public BeginFrameObserverMixIn {
bool BeginImplFrameDeadlinePending() const {
return !begin_impl_frame_deadline_task_.IsCancelled();
}
+ bool MainThreadOnCriticalPath() const {
Sami 2015/06/08 11:47:53 This should probably mirror the setter (SetImplLat
alex clarke (OOO till 29th) 2015/06/08 16:58:07 Done.
+ return !state_machine_.impl_latency_takes_priority();
+ }
base::TimeTicks AnticipatedDrawTime() const;

Powered by Google App Engine
This is Rietveld 408576698