summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/mailbox_manager_unittest.cc
diff options
context:
space:
mode:
authordyen <dyen@chromium.org>2015-10-08 16:23:38 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-08 23:24:17 +0000
commit6a219f8ccdd5148f28458b8184f31859babb9848 (patch)
tree76b1c97b3a670afa022dc0b4951a9050fa11392c /gpu/command_buffer/service/mailbox_manager_unittest.cc
parenta0c83f7682345086c296e8815fdca732d16664b6 (diff)
downloadchromium_src-6a219f8ccdd5148f28458b8184f31859babb9848.zip
chromium_src-6a219f8ccdd5148f28458b8184f31859babb9848.tar.gz
chromium_src-6a219f8ccdd5148f28458b8184f31859babb9848.tar.bz2
Added SyncToken command buffer trait to help with IPC messages.
R=piman@chromium.org BUG=514815 Review URL: https://codereview.chromium.org/1394543003 Cr-Commit-Position: refs/heads/master@{#353170}
Diffstat (limited to 'gpu/command_buffer/service/mailbox_manager_unittest.cc')
-rw-r--r--gpu/command_buffer/service/mailbox_manager_unittest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/gpu/command_buffer/service/mailbox_manager_unittest.cc b/gpu/command_buffer/service/mailbox_manager_unittest.cc
index 5101604..82e0d61 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: