Index: cc/surfaces/display_unittest.cc |
diff --git a/cc/surfaces/display_unittest.cc b/cc/surfaces/display_unittest.cc |
index cff85557522e7731716f5ae8ba7b5328963dd861..78b10a8b921867012aa864f69227936574d36d60 100644 |
--- a/cc/surfaces/display_unittest.cc |
+++ b/cc/surfaces/display_unittest.cc |
@@ -186,7 +186,8 @@ TEST_F(DisplayTest, DisplayDamaged) { |
LocalSurfaceId local_surface_id(id_allocator_.GenerateId()); |
EXPECT_FALSE(scheduler_->damaged); |
EXPECT_FALSE(scheduler_->has_new_root_surface); |
- display_->SetLocalSurfaceId(local_surface_id, 1.f); |
+ display_->SetLocalSurfaceId(local_surface_id); |
+ display_->SetDeviceScaleFactor(1.f); |
EXPECT_FALSE(scheduler_->damaged); |
EXPECT_FALSE(scheduler_->display_resized_); |
EXPECT_TRUE(scheduler_->has_new_root_surface); |
@@ -436,7 +437,8 @@ TEST_F(DisplayTest, Finish) { |
StubDisplayClient client; |
display_->Initialize(&client, &manager_); |
- display_->SetLocalSurfaceId(local_surface_id, 1.f); |
+ display_->SetLocalSurfaceId(local_surface_id); |
+ display_->SetDeviceScaleFactor(1.f); |
display_->Resize(gfx::Size(100, 100)); |