Index: cc/trees/damage_tracker_unittest.cc |
diff --git a/cc/trees/damage_tracker_unittest.cc b/cc/trees/damage_tracker_unittest.cc |
index 610c68fc2953d7ff00bb11e25301c1468dc5cfa3..c0f5d49af23cf2a8b9f2caf8d5d3b1792b077fcb 100644 |
--- a/cc/trees/damage_tracker_unittest.cc |
+++ b/cc/trees/damage_tracker_unittest.cc |
@@ -96,8 +96,7 @@ class DamageTrackerTest : public testing::Test { |
root->SetContentBounds(gfx::Size(500, 500)); |
root->SetDrawsContent(true); |
root->CreateRenderSurface(); |
- root->render_surface()->SetContentRect( |
- gfx::Rect(gfx::Point(), gfx::Size(500, 500))); |
+ root->render_surface()->SetContentRect(gfx::Rect(0, 0, 500, 500)); |
child->SetPosition(gfx::PointF(100.f, 100.f)); |
child->SetAnchorPoint(gfx::PointF()); |
@@ -131,8 +130,7 @@ class DamageTrackerTest : public testing::Test { |
root->SetContentBounds(gfx::Size(500, 500)); |
root->SetDrawsContent(true); |
root->CreateRenderSurface(); |
- root->render_surface()->SetContentRect( |
- gfx::Rect(gfx::Point(), gfx::Size(500, 500))); |
+ root->render_surface()->SetContentRect(gfx::Rect(0, 0, 500, 500)); |
child1->SetPosition(gfx::PointF(100.f, 100.f)); |
child1->SetAnchorPoint(gfx::PointF()); |