summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-07 00:59:43 +0000
committerfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-07 00:59:43 +0000
commiteda3589e7370bdf68383e1d1f8d0fec8968d05ed (patch)
treea6deecbaf9cc8a16a34c1bc5ae7cc45da5aeb452 /gpu
parent734ddf0250c88af441832964661454e2cf0c0f61 (diff)
downloadchromium_src-eda3589e7370bdf68383e1d1f8d0fec8968d05ed.zip
chromium_src-eda3589e7370bdf68383e1d1f8d0fec8968d05ed.tar.gz
chromium_src-eda3589e7370bdf68383e1d1f8d0fec8968d05ed.tar.bz2
Purge ImplementsThreadSafeReferenceCounting() from the codebase now that Task is dead.
TBR=ananta@chromium.org,apatrick@chromium.org Review URL: https://chromiumcodereview.appspot.com/10836116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150202 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/client/share_group.cc2
-rw-r--r--gpu/command_buffer/client/share_group_unittest.cc35
-rw-r--r--gpu/gpu_common.gypi1
3 files changed, 0 insertions, 38 deletions
diff --git a/gpu/command_buffer/client/share_group.cc b/gpu/command_buffer/client/share_group.cc
index fbddbb8..927e58d 100644
--- a/gpu/command_buffer/client/share_group.cc
+++ b/gpu/command_buffer/client/share_group.cc
@@ -197,8 +197,6 @@ ShareGroup::ShareGroup(bool share_resources, bool bind_generates_resource)
: sharing_resources_(share_resources),
bind_generates_resource_(bind_generates_resource),
gles2_(NULL) {
- GPU_CHECK(ShareGroup::ImplementsThreadSafeReferenceCounting());
-
if (bind_generates_resource) {
for (int i = 0; i < id_namespaces::kNumIdNamespaces; ++i) {
if (i == id_namespaces::kProgramsAndShaders) {
diff --git a/gpu/command_buffer/client/share_group_unittest.cc b/gpu/command_buffer/client/share_group_unittest.cc
deleted file mode 100644
index 053cbfa..0000000
--- a/gpu/command_buffer/client/share_group_unittest.cc
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2012 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.
-
-// Tests for the ShareGroup.
-
-#include "gpu/command_buffer/client/share_group.h"
-
-#include "testing/gtest/include/gtest/gtest.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace gpu {
-namespace gles2 {
-
-class ShareGroupTest : public testing::Test {
- protected:
-
- virtual void SetUp() {
- share_group_ = ShareGroup::Ref(new ShareGroup(false, false));
- }
-
- virtual void TearDown() {
- }
-
- scoped_refptr<ShareGroup> share_group_;
-};
-
-TEST_F(ShareGroupTest, Basic) {
- EXPECT_TRUE(ShareGroup::ImplementsThreadSafeReferenceCounting());
-}
-
-} // namespace gles2
-} // namespace gpu
-
-
diff --git a/gpu/gpu_common.gypi b/gpu/gpu_common.gypi
index 2546635..1cd742c 100644
--- a/gpu/gpu_common.gypi
+++ b/gpu/gpu_common.gypi
@@ -148,7 +148,6 @@
'command_buffer/client/query_tracker_unittest.cc',
'command_buffer/client/program_info_manager_unittest.cc',
'command_buffer/client/ring_buffer_test.cc',
- 'command_buffer/client/share_group_unittest.cc',
'command_buffer/client/transfer_buffer_unittest.cc',
'command_buffer/common/bitfield_helpers_test.cc',
'command_buffer/common/command_buffer_mock.cc',