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 0d04c9917f0546d47a398e1c4e92a0abd7007bd5..05e33a313aa923c6182628a6c6b95a0e8ca27d14 100644 |
--- a/cc/resources/texture_mailbox_deleter_unittest.cc |
+++ b/cc/resources/texture_mailbox_deleter_unittest.cc |
@@ -34,7 +34,7 @@ TEST(TextureMailboxDeleterTest, Destroy) { |
// When the deleter is destroyed, it immediately drops its ref on the |
// ContextProvider, and deletes the texture. |
- deleter.reset(); |
+ deleter = nullptr; |
EXPECT_TRUE(context_provider->HasOneRef()); |
EXPECT_EQ(0u, context_provider->TestContext3d()->NumTextures()); |