Index: gpu/command_buffer/client/gles2_implementation_unittest.cc |
diff --git a/gpu/command_buffer/client/gles2_implementation_unittest.cc b/gpu/command_buffer/client/gles2_implementation_unittest.cc |
index 5ab9f0e7b45333f3f8c13e87cb44346e8b245ead..883d353679beb1eca6e595b13630791ae1e180d0 100644 |
--- a/gpu/command_buffer/client/gles2_implementation_unittest.cc |
+++ b/gpu/command_buffer/client/gles2_implementation_unittest.cc |
@@ -3249,9 +3249,9 @@ TEST_F(GLES2ImplementationManualInitTest, LoseContextOnOOM) { |
}; |
GLsizei max = std::numeric_limits<GLsizei>::max(); |
- EXPECT_CALL(*gpu_control_, CreateGpuMemoryBuffer(max, max, _, _)) |
+ EXPECT_CALL(*gpu_control_, CreateGpuMemoryBuffer(max, max, _, _, _)) |
.WillOnce(Return(static_cast<gfx::GpuMemoryBuffer*>(NULL))); |
- gl_->CreateImageCHROMIUM(max, max, 0); |
+ gl_->CreateImageCHROMIUM(max, max, 0, GL_IMAGE_MAP_CHROMIUM); |
// The context should be lost. |
Cmds expected; |
expected.cmd.Init(GL_GUILTY_CONTEXT_RESET_ARB, GL_UNKNOWN_CONTEXT_RESET_ARB); |
@@ -3267,9 +3267,9 @@ TEST_F(GLES2ImplementationManualInitTest, NoLoseContextOnOOM) { |
}; |
GLsizei max = std::numeric_limits<GLsizei>::max(); |
- EXPECT_CALL(*gpu_control_, CreateGpuMemoryBuffer(max, max, _, _)) |
+ EXPECT_CALL(*gpu_control_, CreateGpuMemoryBuffer(max, max, _, _, _)) |
.WillOnce(Return(static_cast<gfx::GpuMemoryBuffer*>(NULL))); |
- gl_->CreateImageCHROMIUM(max, max, 0); |
+ gl_->CreateImageCHROMIUM(max, max, 0, GL_IMAGE_MAP_CHROMIUM); |
// The context should not be lost. |
EXPECT_TRUE(NoCommandsWritten()); |
} |