summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/common_decoder_unittest.cc
diff options
context:
space:
mode:
authorjbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-12 20:09:57 +0000
committerjbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-12 20:09:57 +0000
commitce9eea60c922efff7c680a7a127480a799e06e94 (patch)
tree6e34093d78d48fe4d1132c4d8eef2817d32e2203 /gpu/command_buffer/service/common_decoder_unittest.cc
parent8c3bd1d8c71d8432beb624ce1434ca962665de90 (diff)
downloadchromium_src-ce9eea60c922efff7c680a7a127480a799e06e94.zip
chromium_src-ce9eea60c922efff7c680a7a127480a799e06e94.tar.gz
chromium_src-ce9eea60c922efff7c680a7a127480a799e06e94.tar.bz2
implemented latch support in renderer process. this corresponds with a webkit patch.
https://bugs.webkit.org/show_bug.cgi?id=58003 BUG=72671 TEST=see attachment in bug for test. only green should be seen. Review URL: http://codereview.chromium.org/6810009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81295 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/common_decoder_unittest.cc')
-rw-r--r--gpu/command_buffer/service/common_decoder_unittest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/gpu/command_buffer/service/common_decoder_unittest.cc b/gpu/command_buffer/service/common_decoder_unittest.cc
index c71c92e..7099265 100644
--- a/gpu/command_buffer/service/common_decoder_unittest.cc
+++ b/gpu/command_buffer/service/common_decoder_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -131,7 +131,8 @@ class MockCommandBufferEngine : public CommandBufferEngine {
private:
bool IsValidSharedMemoryId(int32 shm_id) {
- return shm_id == kValidShmId || shm_id == kStartValidShmId;
+ return shm_id == kValidShmId || shm_id == kStartValidShmId ||
+ shm_id == gpu::kLatchSharedMemoryId;
}
int8 buffer_[kBufferSize];