Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_mock.h

Issue 1095893002: gpu: Fix some context lost marking glitches+leaks and add UMA stats (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 c58405bb2e792223fc0e51f4634e1e798cef9f3d..65df53c53dfdc02646ed27a10df1066c6792b281 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h
@@ -124,9 +124,9 @@ class MockGLES2Decoder : public GLES2Decoder {
MOCK_METHOD0(GetTotalTextureUploadTime, base::TimeDelta());
MOCK_METHOD0(GetTotalProcessingCommandsTime, base::TimeDelta());
MOCK_METHOD1(AddProcessingCommandsTime, void(base::TimeDelta));
- MOCK_METHOD0(WasContextLost, bool());
- MOCK_METHOD0(WasContextLostByRobustnessExtension, bool());
- MOCK_METHOD1(LoseContext, void(uint32 reset_status));
+ MOCK_CONST_METHOD0(WasContextLost, bool());
+ MOCK_CONST_METHOD0(WasContextLostByRobustnessExtension, bool());
+ MOCK_METHOD1(MarkContextLost, void(gpu::error::ContextLostReason reason));
DISALLOW_COPY_AND_ASSIGN(MockGLES2Decoder);
};

Powered by Google App Engine
This is Rietveld 408576698