Index: gpu/command_buffer/service/gpu_processor_unittest.cc |
=================================================================== |
--- gpu/command_buffer/service/gpu_processor_unittest.cc (revision 51426) |
+++ gpu/command_buffer/service/gpu_processor_unittest.cc (working copy) |
@@ -61,6 +61,10 @@ |
decoder_, |
parser_, |
2)); |
+ |
+ EXPECT_CALL(*decoder_, Destroy()) |
+ .Times(1) |
+ .RetiresOnSaturation(); |
} |
virtual void TearDown() { |
@@ -148,6 +152,7 @@ |
TEST_F(GPUProcessorTest, ProcessorSetsTheGLContext) { |
EXPECT_CALL(*decoder_, MakeCurrent()) |
+ .WillOnce(Return(true)) |
.WillOnce(Return(true)); |
CommandBuffer::State state; |