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

Unified Diff: cc/test/scheduler_test_common.h

Issue 1762823002: Remove runtime toggling of throttling frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « cc/test/proxy_impl_for_test.cc ('k') | cc/test/test_hooks.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/scheduler_test_common.h
diff --git a/cc/test/scheduler_test_common.h b/cc/test/scheduler_test_common.h
index d442aca73ace37335628a7892926547033f88d37..ccc8c263cf5cd756bc605afdd2ce65f3b8c47a0e 100644
--- a/cc/test/scheduler_test_common.h
+++ b/cc/test/scheduler_test_common.h
@@ -234,7 +234,9 @@ class TestScheduler : public Scheduler {
}
BeginFrameSource& frame_source() { return *frame_source_; }
- bool FrameProductionThrottled() { return throttle_frame_production_; }
+ bool FrameProductionThrottled() {
+ return settings_.throttle_frame_production;
+ }
bool MainThreadMissedLastDeadline() const {
return state_machine_.main_thread_missed_last_deadline();
« no previous file with comments | « cc/test/proxy_impl_for_test.cc ('k') | cc/test/test_hooks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698