Index: gpu/command_buffer/service/mailbox_manager_unittest.cc |
diff --git a/gpu/command_buffer/service/mailbox_manager_unittest.cc b/gpu/command_buffer/service/mailbox_manager_unittest.cc |
index 81979d098fa2faa6a1820716f584f3f377a0ea27..ac0365ed2b213257a366dac784b06c856a0bdd09 100644 |
--- a/gpu/command_buffer/service/mailbox_manager_unittest.cc |
+++ b/gpu/command_buffer/service/mailbox_manager_unittest.cc |
@@ -338,7 +338,7 @@ TEST_F(MailboxManagerSyncTest, ProduceConsumeResize) { |
SetLevelInfo(texture, GL_TEXTURE_2D, 0, GL_RGBA, 16, 32, 1, 0, GL_RGBA, |
GL_UNSIGNED_BYTE, gfx::Rect(16, 32)); |
// Should have been orphaned |
- EXPECT_TRUE(texture->GetLevelImage(GL_TEXTURE_2D, 0) == NULL); |
+ EXPECT_TRUE(texture->GetLevelImage(GL_TEXTURE_2D, 0, nullptr) == nullptr); |
// Synchronize again |
manager_->PushTextureUpdates(g_sync_token); |
@@ -351,7 +351,7 @@ TEST_F(MailboxManagerSyncTest, ProduceConsumeResize) { |
EXPECT_EQ(32, height); |
// Should have gotten a new attachment |
- EXPECT_TRUE(texture->GetLevelImage(GL_TEXTURE_2D, 0) != NULL); |
+ EXPECT_TRUE(texture->GetLevelImage(GL_TEXTURE_2D, 0, nullptr) != nullptr); |
// Resize original texture again.... |
SetLevelInfo(texture, GL_TEXTURE_2D, 0, GL_RGBA, 64, 64, 1, 0, GL_RGBA, |
GL_UNSIGNED_BYTE, gfx::Rect(64, 64)); |