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; |