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

Unified Diff: cc/test/layer_tree_test.cc

Issue 696413003: cc: Introduce forward_begin_frames_to_children and use_external_begin_frame_source (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sep
Patch Set: rebase on master Created 6 years, 1 month 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/scheduler/scheduler_unittest.cc ('k') | cc/test/scheduler_test_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 806a5b3a69bfdcb197756bc4ed2f78cfb17c3bbe..373959df0d40ca72490d1992f9b70f9da228135e 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -607,7 +607,7 @@ void LayerTreeTest::DoBeginTest() {
client_ = LayerTreeHostClientForTesting::Create(this);
scoped_ptr<ExternalBeginFrameSourceForTest> external_begin_frame_source;
- if (settings_.begin_frame_scheduling_enabled &&
+ if (settings_.use_external_begin_frame_source &&
settings_.throttle_frame_production) {
external_begin_frame_source.reset(
new ExternalBeginFrameSourceForTest(settings_.refresh_rate));
@@ -791,7 +791,7 @@ scoped_ptr<OutputSurface> LayerTreeTest::CreateOutputSurface(bool fallback) {
}
output_surface_ = output_surface.get();
- if (settings_.begin_frame_scheduling_enabled &&
+ if (settings_.use_external_begin_frame_source &&
settings_.throttle_frame_production) {
DCHECK(external_begin_frame_source_);
DCHECK(external_begin_frame_source_->is_ready());
« no previous file with comments | « cc/scheduler/scheduler_unittest.cc ('k') | cc/test/scheduler_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698