Index: gpu/command_buffer/client/client_test_helper.cc |
diff --git a/gpu/command_buffer/client/client_test_helper.cc b/gpu/command_buffer/client/client_test_helper.cc |
index 258e8217a846ababc37fbf3396832242c51897b9..87bb3f5dd8e406c03690e53431bd1a0143299a75 100644 |
--- a/gpu/command_buffer/client/client_test_helper.cc |
+++ b/gpu/command_buffer/client/client_test_helper.cc |
@@ -113,6 +113,15 @@ int32 MockCommandBufferBase::GetPutOffset() { |
return put_offset_; |
} |
+void MockCommandBufferBase::GetRouteInformation(int* channel_id, |
+ uint32_t* route_id) { |
+ if (channel_id) |
+ *channel_id = 0; |
+ |
+ if (route_id) |
+ *route_id = 0; |
+} |
+ |
// GCC requires these declarations, but MSVC requires they not be present |
#ifndef _MSC_VER |
const int32 MockCommandBufferBase::kTransferBufferBaseId; |