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

Unified Diff: cc/scheduler/scheduler_state_machine.h

Issue 1691153002: cc: Consider main thread making deadline upon abort. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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 | cc/scheduler/scheduler_state_machine.cc » ('j') | cc/scheduler/scheduler_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/scheduler_state_machine.h
diff --git a/cc/scheduler/scheduler_state_machine.h b/cc/scheduler/scheduler_state_machine.h
index 7444432bb134d57887507fe217140acfaba54c84..ac10676f01af9659b0b64544e931ef5b3267064c 100644
--- a/cc/scheduler/scheduler_state_machine.h
+++ b/cc/scheduler/scheduler_state_machine.h
@@ -166,7 +166,9 @@ class CC_EXPORT SchedulerStateMachine {
// If the main thread didn't manage to produce a new frame in time for the
// impl thread to draw, it is in a high latency mode.
- bool main_thread_missed_last_deadline() const;
+ bool main_thread_missed_last_deadline() const {
+ return main_thread_missed_last_deadline_;
+ }
bool SwapThrottled() const;
« no previous file with comments | « no previous file | cc/scheduler/scheduler_state_machine.cc » ('j') | cc/scheduler/scheduler_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698