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

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: Made the flag default 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..3a290fb313471abc6b602f569a7ef1f042ac5147 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 ImplLatencyTakesPriority() const {
+ return state_machine_.impl_latency_takes_priority();
+ }
base::TimeTicks AnticipatedDrawTime() const;

Powered by Google App Engine
This is Rietveld 408576698