Index: cc/trees/layer_tree_host_unittest_scroll.cc |
diff --git a/cc/trees/layer_tree_host_unittest_scroll.cc b/cc/trees/layer_tree_host_unittest_scroll.cc |
index f4cf0915f07beda2f933edf81283214af9446fcf..8582d8f55a42a4bab09fee2324ec8da816b696ff 100644 |
--- a/cc/trees/layer_tree_host_unittest_scroll.cc |
+++ b/cc/trees/layer_tree_host_unittest_scroll.cc |
@@ -734,11 +734,9 @@ TEST(LayerTreeHostFlingTest, DidStopFlingingThread) { |
impl_thread.message_loop_proxy().get(), &received_stop_flinging); |
FakeLayerTreeHostClient client(FakeLayerTreeHostClient::DIRECT_3D); |
- ASSERT_TRUE(impl_thread.message_loop_proxy()); |
- scoped_ptr<LayerTreeHost> layer_tree_host = |
- LayerTreeHost::Create(&client, |
- settings, |
- impl_thread.message_loop_proxy()); |
+ ASSERT_TRUE(impl_thread.message_loop_proxy().get()); |
+ scoped_ptr<LayerTreeHost> layer_tree_host = LayerTreeHost::Create( |
+ &client, settings, impl_thread.message_loop_proxy()); |
impl_thread.message_loop_proxy() |
->PostTask(FROM_HERE, |