Index: gpu/command_buffer/service/test_helper.cc |
diff --git a/gpu/command_buffer/service/test_helper.cc b/gpu/command_buffer/service/test_helper.cc |
index f0deec206c3b03b1c783d371777d26e6cf839acb..550e0cda36f948e7611992314d8778fe75ce3255 100644 |
--- a/gpu/command_buffer/service/test_helper.cc |
+++ b/gpu/command_buffer/service/test_helper.cc |
@@ -411,7 +411,7 @@ void TestHelper::SetupFeatureInfoInitExpectationsWithGLVersion( |
EXPECT_CALL(*gl, BindTexture(GL_TEXTURE_2D, tx_ids[0])) |
.Times(1) |
.RetiresOnSaturation(); |
-#if DCHECK_IS_ON |
+#if DCHECK_IS_ON() |
EXPECT_CALL(*gl, GetError()) |
.WillOnce(Return(GL_NO_ERROR)) |
.RetiresOnSaturation(); |
@@ -475,7 +475,7 @@ void TestHelper::SetupFeatureInfoInitExpectationsWithGLVersion( |
EXPECT_CALL(*gl, BindTexture(GL_TEXTURE_2D, tx_ids[0])) |
.Times(1) |
.RetiresOnSaturation(); |
-#if DCHECK_IS_ON |
+#if DCHECK_IS_ON() |
EXPECT_CALL(*gl, GetError()) |
.WillOnce(Return(GL_NO_ERROR)) |
.RetiresOnSaturation(); |