summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-18 20:09:53 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-18 20:09:53 +0000
commit6fdb043493c52b69e8fa2690c0e175866d142323 (patch)
treedc62f1ca7aac4cf8de210b533737483b8db5a74d /gpu
parent49a71fa2fa914ade80b9f088647ee9c938a8c12a (diff)
downloadchromium_src-6fdb043493c52b69e8fa2690c0e175866d142323.zip
chromium_src-6fdb043493c52b69e8fa2690c0e175866d142323.tar.gz
chromium_src-6fdb043493c52b69e8fa2690c0e175866d142323.tar.bz2
Rename nacl::RefCounted to nacl::RefCountedThreadSafe, to make it easier to alias as gpu::RefCountedThreadSafe.
Additionally, ensure all of the nacl::RefCountedThreadSafe-derived classes do not have public destructors. BUG=123295 TEST=none Review URL: https://chromiumcodereview.appspot.com/10386080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137936 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/client/ref_counted.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/gpu/command_buffer/client/ref_counted.h b/gpu/command_buffer/client/ref_counted.h
index ed73a73..83346d35 100644
--- a/gpu/command_buffer/client/ref_counted.h
+++ b/gpu/command_buffer/client/ref_counted.h
@@ -8,16 +8,12 @@
#if defined(__native_client__)
#include "native_client/src/include/ref_counted.h"
namespace gpu {
-template <class T>
-struct RefCountedThreadSafe : public nacl::RefCounted<T> {
-};
+using nacl::RefCountedThreadSafe;
}
#else
#include "base/memory/ref_counted.h"
namespace gpu {
-template <class T>
-struct RefCountedThreadSafe : public base::RefCountedThreadSafe<T> {
-};
+using base::RefCountedThreadSafe;
}
#endif