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

Unified Diff: gpu/command_buffer/client/gles2_implementation_unittest.cc

Issue 2910093004: Add TransferBufferInterface::shared_memory_handle() (Closed)
Patch Set: (rebase) Created 3 years, 7 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
« no previous file with comments | « no previous file | gpu/command_buffer/client/transfer_buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_implementation_unittest.cc
diff --git a/gpu/command_buffer/client/gles2_implementation_unittest.cc b/gpu/command_buffer/client/gles2_implementation_unittest.cc
index 20c2508b60cd7877707e91dafb8779d874847102..6bb2dc50fec44518cecc3fbb58c232f46c01b414 100644
--- a/gpu/command_buffer/client/gles2_implementation_unittest.cc
+++ b/gpu/command_buffer/client/gles2_implementation_unittest.cc
@@ -131,6 +131,7 @@ class MockTransferBuffer : public TransferBufferInterface {
~MockTransferBuffer() override {}
+ base::SharedMemoryHandle shared_memory_handle() const override;
bool Initialize(unsigned int starting_buffer_size,
unsigned int result_size,
unsigned int /* min_buffer_size */,
@@ -243,6 +244,10 @@ class MockTransferBuffer : public TransferBufferInterface {
DISALLOW_COPY_AND_ASSIGN(MockTransferBuffer);
};
+base::SharedMemoryHandle MockTransferBuffer::shared_memory_handle() const {
+ return base::SharedMemoryHandle();
+}
+
bool MockTransferBuffer::Initialize(
unsigned int starting_buffer_size,
unsigned int result_size,
« no previous file with comments | « no previous file | gpu/command_buffer/client/transfer_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698