Index: cc/layer_tree_host_impl_unittest.cc |
diff --git a/cc/layer_tree_host_impl_unittest.cc b/cc/layer_tree_host_impl_unittest.cc |
index 062588a44aa4732e374ebcf50225255e458c6446..6993fa40b41b653c3b20992d1f4224c6e1b8986e 100644 |
--- a/cc/layer_tree_host_impl_unittest.cc |
+++ b/cc/layer_tree_host_impl_unittest.cc |
@@ -1521,9 +1521,9 @@ TEST_P(LayerTreeHostImplTest, scrollEventBubbling) |
child->setScrollable(false); |
root->addChild(child.Pass()); |
+ m_hostImpl->setViewportSize(surfaceSize, surfaceSize); |
m_hostImpl->activeTree()->SetRootLayer(root.Pass()); |
m_hostImpl->activeTree()->DidBecomeActive(); |
- m_hostImpl->setViewportSize(surfaceSize, surfaceSize); |
initializeRendererAndDrawFrame(); |
{ |
gfx::Vector2d scrollDelta(0, 4); |