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 d2db83af2a275d63c798cdcea5774a7b1f80291b..9f2786c667fbd3c3634cf46a4b720fbea4cf06d0 100644 |
--- a/cc/trees/layer_tree_host_unittest_scroll.cc |
+++ b/cc/trees/layer_tree_host_unittest_scroll.cc |
@@ -1121,7 +1121,7 @@ TEST(LayerTreeHostFlingTest, DidStopFlingingThread) { |
base::Unretained(&input_handler_client))); |
layer_tree_host->DidStopFlinging(); |
- layer_tree_host.reset(); |
+ layer_tree_host = nullptr; |
impl_thread.Stop(); |
EXPECT_TRUE(received_stop_flinging); |
} |