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

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

Issue 1394543003: Added SyncToken command buffer trait to help with IPC messages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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..82e0d619bba86c5c6da3e85d66c8e0dd11af8d18 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,8 @@ 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:

Powered by Google App Engine
This is Rietveld 408576698