Index: cc/layers/heads_up_display_layer_impl_unittest.cc |
diff --git a/cc/layers/heads_up_display_layer_impl_unittest.cc b/cc/layers/heads_up_display_layer_impl_unittest.cc |
index d342d4f70938c07540bf020b882f478710e8fbf0..6c83506d8222238c74c9f3b4c040577749745176 100644 |
--- a/cc/layers/heads_up_display_layer_impl_unittest.cc |
+++ b/cc/layers/heads_up_display_layer_impl_unittest.cc |
@@ -37,7 +37,8 @@ TEST(HeadsUpDisplayLayerImplTest, ResourcelessSoftwareDrawAfterResourceLoss) { |
host_impl.InitializeRenderer(FakeOutputSurface::Create3d()); |
scoped_ptr<HeadsUpDisplayLayerImpl> layer = |
HeadsUpDisplayLayerImpl::Create(host_impl.pending_tree(), 1); |
- layer->SetContentBounds(gfx::Size(100, 100)); |
+ layer->SetBounds(gfx::Size(100, 100)); |
+ layer->draw_properties().ideal_contents_scale = 1.f; |
// Check regular hardware draw is ok. |
CheckDrawLayer( |