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

Unified Diff: cc/scheduler/scheduler_unittest.cc

Issue 2324273002: Remove external begin frame source parameter and settings (Closed)
Patch Set: Add back comment, remove more febfs includes Created 4 years, 3 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/scheduler/scheduler.cc ('k') | cc/test/fake_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/scheduler_unittest.cc
diff --git a/cc/scheduler/scheduler_unittest.cc b/cc/scheduler/scheduler_unittest.cc
index d3dffae8b19376ee99885759bdbacc9fdf303832..6c4e316a23449b233eb532aecc355789ae97034e 100644
--- a/cc/scheduler/scheduler_unittest.cc
+++ b/cc/scheduler/scheduler_unittest.cc
@@ -267,11 +267,10 @@ class SchedulerTest : public testing::Test {
scheduler_settings_.using_synchronous_renderer_compositor);
fake_compositor_timing_history_ = fake_compositor_timing_history.get();
- scheduler_.reset(
- new TestScheduler(now_src_.get(), client_.get(), scheduler_settings_, 0,
- task_runner_.get(), frame_source,
- std::move(fake_compositor_timing_history)));
- DCHECK(scheduler_);
+ scheduler_.reset(new TestScheduler(
+ now_src_.get(), client_.get(), scheduler_settings_, 0,
+ task_runner_.get(), std::move(fake_compositor_timing_history)));
+ scheduler_->SetBeginFrameSource(frame_source);
client_->set_scheduler(scheduler_.get());
// Use large estimates by default to avoid latency recovery in most tests.
« no previous file with comments | « cc/scheduler/scheduler.cc ('k') | cc/test/fake_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698