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

Unified Diff: gpu/command_buffer/common/command_buffer_mock.cc

Issue 1345813002: Added a unique command buffer ID for command buffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added gpu namespace for gles2_conform_support/egl/display.cc Created 5 years, 3 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/common/command_buffer_mock.cc
diff --git a/gpu/command_buffer/common/command_buffer_mock.cc b/gpu/command_buffer/common/command_buffer_mock.cc
index a64dc452c32de95560324add315b14153dadf8ea..fcb0aa2fb2f5d00a50ca308f8d9e3d07b1e3cd48 100644
--- a/gpu/command_buffer/common/command_buffer_mock.cc
+++ b/gpu/command_buffer/common/command_buffer_mock.cc
@@ -6,7 +6,8 @@
namespace gpu {
-MockCommandBuffer::MockCommandBuffer() {
+MockCommandBuffer::MockCommandBuffer()
+ : CommandBufferServiceBase(kCommandBufferNamespace_InProcess, 0) {
ON_CALL(*this, GetTransferBuffer(testing::_))
.WillByDefault(testing::Return(scoped_refptr<gpu::Buffer>()));
}

Powered by Google App Engine
This is Rietveld 408576698