Index: cc/trees/layer_tree_host_unittest_copyrequest.cc |
diff --git a/cc/trees/layer_tree_host_unittest_copyrequest.cc b/cc/trees/layer_tree_host_unittest_copyrequest.cc |
index 6af175690f89ac01a88c0728bf24e12e1ea2e9ba..89a267a1ec6c9c94305de2f0d19a40433a73e24a 100644 |
--- a/cc/trees/layer_tree_host_unittest_copyrequest.cc |
+++ b/cc/trees/layer_tree_host_unittest_copyrequest.cc |
@@ -592,7 +592,7 @@ |
// Now destroy the CopyOutputResult, releasing the texture inside back |
// to the compositor. |
EXPECT_TRUE(result_); |
- result_ = nullptr; |
+ result_.reset(); |
// Check that it is released. |
ImplThreadTaskRunner()->PostTask( |