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

Unified Diff: cc/scheduler/scheduler_unittest.cc

Issue 1013463003: Update from https://crrev.com/320931 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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_state_machine_unittest.cc ('k') | cc/surfaces/display.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 9346536e9344e965d1422f7202af9cd0c2753ea9..55f2164e57f9d4da4fd891ef38b21fe35c246212 100644
--- a/cc/scheduler/scheduler_unittest.cc
+++ b/cc/scheduler/scheduler_unittest.cc
@@ -407,7 +407,6 @@ TEST_F(SchedulerTest, InitializeOutputSurfaceDoesNotBeginImplFrame) {
TEST_F(SchedulerTest, SendBeginFramesToChildren) {
scheduler_settings_.use_external_begin_frame_source = true;
- scheduler_settings_.forward_begin_frames_to_children = true;
SetUpScheduler(true);
EXPECT_FALSE(client_->begin_frame_is_sent_to_children());
@@ -428,7 +427,6 @@ TEST_F(SchedulerTest, SendBeginFramesToChildren) {
TEST_F(SchedulerTest, SendBeginFramesToChildrenWithoutCommit) {
scheduler_settings_.use_external_begin_frame_source = true;
- scheduler_settings_.forward_begin_frames_to_children = true;
SetUpScheduler(true);
EXPECT_FALSE(client_->needs_begin_frames());
@@ -503,10 +501,6 @@ TEST_F(SchedulerTest, RequestCommitAfterSetDeferCommit) {
scheduler_settings_.use_external_begin_frame_source = true;
SetUpScheduler(true);
- scheduler_->SetCanStart();
- scheduler_->SetVisible(true);
- scheduler_->SetCanDraw(true);
-
scheduler_->SetDeferCommits(true);
scheduler_->SetNeedsCommit();
@@ -539,10 +533,6 @@ TEST_F(SchedulerTest, DeferCommitWithRedraw) {
scheduler_settings_.use_external_begin_frame_source = true;
SetUpScheduler(true);
- scheduler_->SetCanStart();
- scheduler_->SetVisible(true);
- scheduler_->SetCanDraw(true);
-
scheduler_->SetDeferCommits(true);
scheduler_->SetNeedsCommit();
« no previous file with comments | « cc/scheduler/scheduler_state_machine_unittest.cc ('k') | cc/surfaces/display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698