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

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

Issue 1399173002: Reland: Added SyncToken command buffer trait to help with IPC messages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Read/Write SyncToken variables separately. Created 5 years, 2 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/service/mailbox_manager_unittest.cc
diff --git a/gpu/command_buffer/service/mailbox_manager_unittest.cc b/gpu/command_buffer/service/mailbox_manager_unittest.cc
index 5101604a3687369c2be85c3b00888def013583a9..81979d098fa2faa6a1820716f584f3f377a0ea27 100644
--- a/gpu/command_buffer/service/mailbox_manager_unittest.cc
+++ b/gpu/command_buffer/service/mailbox_manager_unittest.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "gpu/command_buffer/common/sync_token.h"
#include "gpu/command_buffer/service/feature_info.h"
#include "gpu/command_buffer/service/gpu_service_test.h"
#include "gpu/command_buffer/service/mailbox_manager_impl.h"
@@ -17,8 +18,9 @@ namespace gles2 {
using namespace ::testing;
-static const SyncToken g_sync_token = {gpu::CommandBufferNamespace::GPU_IO, 123,
- 0};
+static const SyncToken g_sync_token(gpu::CommandBufferNamespace::GPU_IO,
+ 123,
+ 0);
class MailboxManagerTest : public GpuServiceTest {
public:
« no previous file with comments | « gpu/command_buffer/service/mailbox_manager_sync.cc ('k') | gpu/command_buffer/tests/gl_fence_sync_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698