| Index: gpu/command_buffer/client/client_test_helper.h
|
| diff --git a/gpu/command_buffer/client/client_test_helper.h b/gpu/command_buffer/client/client_test_helper.h
|
| index 46e343d2a5102f8141be8a0d8bb9a6bfcbd6bddc..f09e61e2b05387712e7b2787423593a9956d4b04 100644
|
| --- a/gpu/command_buffer/client/client_test_helper.h
|
| +++ b/gpu/command_buffer/client/client_test_helper.h
|
| @@ -92,11 +92,12 @@ class MockClientGpuControl : public GpuControl {
|
| virtual ~MockClientGpuControl();
|
|
|
| MOCK_METHOD0(GetCapabilities, Capabilities());
|
| - MOCK_METHOD4(CreateImage,
|
| - int32(ClientBuffer buffer,
|
| - size_t width,
|
| - size_t height,
|
| - unsigned internalformat));
|
| + // Workaround for MSVC warning on mock methods, see http://crbug.com/466689
|
| + int32_t CreateImage(ClientBuffer* const buffers,
|
| + size_t width,
|
| + size_t height,
|
| + unsigned internalformat);
|
| + MOCK_METHOD0(DoCreateImage, int32());
|
| MOCK_METHOD1(DestroyImage, void(int32 id));
|
| MOCK_METHOD4(CreateGpuMemoryBufferImage,
|
| int32(size_t width,
|
|
|