summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/common/command_buffer_mock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/common/command_buffer_mock.cc')
-rw-r--r--gpu/command_buffer/common/command_buffer_mock.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/command_buffer/common/command_buffer_mock.cc b/gpu/command_buffer/common/command_buffer_mock.cc
index 6ed2eee..d92c2c3 100644
--- a/gpu/command_buffer/common/command_buffer_mock.cc
+++ b/gpu/command_buffer/common/command_buffer_mock.cc
@@ -7,6 +7,8 @@
namespace gpu {
MockCommandBuffer::MockCommandBuffer() {
+ ON_CALL(*this, GetRingBuffer())
+ .WillByDefault(testing::Return(Buffer()));
ON_CALL(*this, GetTransferBuffer(testing::_))
.WillByDefault(testing::Return(Buffer()));
}