Index: cc/layers/picture_layer_impl_perftest.cc |
diff --git a/cc/layers/picture_layer_impl_perftest.cc b/cc/layers/picture_layer_impl_perftest.cc |
index a9690277b97a79a7896c44e298603c0acb4eaff5..c26b07d656d5727d1d94d27a2c631586286640fa 100644 |
--- a/cc/layers/picture_layer_impl_perftest.cc |
+++ b/cc/layers/picture_layer_impl_perftest.cc |
@@ -97,7 +97,8 @@ class PictureLayerImplPerfTest : public testing::Test { |
void RunRasterIteratorConstructTest(const std::string& test_name, |
const gfx::Rect& viewport) { |
host_impl_.SetViewportSize(viewport.size()); |
- pending_layer_->SetScrollOffset(gfx::Vector2d(viewport.x(), viewport.y())); |
+ pending_layer_->SetScrollOffset( |
+ gfx::ScrollOffset(viewport.x(), viewport.y())); |
host_impl_.pending_tree()->UpdateDrawProperties(); |
timer_.Reset(); |
@@ -150,7 +151,8 @@ class PictureLayerImplPerfTest : public testing::Test { |
void RunEvictionIteratorConstructTest(const std::string& test_name, |
const gfx::Rect& viewport) { |
host_impl_.SetViewportSize(viewport.size()); |
- pending_layer_->SetScrollOffset(gfx::Vector2d(viewport.x(), viewport.y())); |
+ pending_layer_->SetScrollOffset( |
+ gfx::ScrollOffset(viewport.x(), viewport.y())); |
host_impl_.pending_tree()->UpdateDrawProperties(); |
TreePriority priorities[] = {SAME_PRIORITY_FOR_BOTH_TREES, |