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

Unified Diff: gpu/command_buffer/service/mocks.cc

Issue 6990002: Fix ringbuffer test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | « gpu/command_buffer/client/ring_buffer_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/mocks.cc
diff --git a/gpu/command_buffer/service/mocks.cc b/gpu/command_buffer/service/mocks.cc
index 6f267beb3286c7d508e61368deaa19f425347a0e..40b3d6d924fd06e78b4753640724ebdc244e5997 100644
--- a/gpu/command_buffer/service/mocks.cc
+++ b/gpu/command_buffer/service/mocks.cc
@@ -19,9 +19,9 @@ void AsyncAPIMock::SetToken(unsigned int command,
DCHECK(engine_);
DCHECK_EQ(1u, command);
DCHECK_EQ(1u, arg_count);
- const CommandBufferEntry* args =
- static_cast<const CommandBufferEntry*>(_args);
- engine_->set_token(args[0].value_uint32);
+ const cmd::SetToken* args =
+ static_cast<const cmd::SetToken*>(_args);
+ engine_->set_token(args->token);
}
namespace gles2 {
« no previous file with comments | « gpu/command_buffer/client/ring_buffer_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698