Index: gpu/command_buffer/service/gles2_cmd_decoder_mock.h |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h |
index 64ca1a8c4b465060dfd3473fe2e429666e8f806f..4b222599283468510b90b57c1db0cdb3f5c4374b 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h |
@@ -66,8 +66,9 @@ class MockGLES2Decoder : public GLES2Decoder { |
MOCK_METHOD0(GetContextGroup, ContextGroup*()); |
MOCK_CONST_METHOD0(GetFeatureInfo, const FeatureInfo*()); |
MOCK_METHOD0(GetContextState, const ContextState*()); |
- MOCK_METHOD1(GetTranslator, |
- scoped_refptr<ShaderTranslatorInterface>(unsigned int type)); |
+ MOCK_CONST_METHOD1( |
+ GetTranslator, |
+ scoped_refptr<ShaderTranslatorInterface>(unsigned int type)); |
MOCK_METHOD0(GetCapabilities, Capabilities()); |
MOCK_CONST_METHOD0(HasPendingQueries, bool()); |
MOCK_METHOD1(ProcessPendingQueries, void(bool)); |