Index: cc/resources/texture_mailbox_deleter_unittest.cc |
diff --git a/cc/resources/texture_mailbox_deleter_unittest.cc b/cc/resources/texture_mailbox_deleter_unittest.cc |
index 05e33a313aa923c6182628a6c6b95a0e8ca27d14..0d04c9917f0546d47a398e1c4e92a0abd7007bd5 100644 |
--- a/cc/resources/texture_mailbox_deleter_unittest.cc |
+++ b/cc/resources/texture_mailbox_deleter_unittest.cc |
@@ -34,7 +34,7 @@ |
// When the deleter is destroyed, it immediately drops its ref on the |
// ContextProvider, and deletes the texture. |
- deleter = nullptr; |
+ deleter.reset(); |
EXPECT_TRUE(context_provider->HasOneRef()); |
EXPECT_EQ(0u, context_provider->TestContext3d()->NumTextures()); |