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

Unified Diff: content/common/gpu/sync_point_manager.h

Issue 10694111: RefCounted types should not have public destructors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix android & Win compiles Created 8 years, 5 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
« no previous file with comments | « chrome/browser/net/connection_tester.h ('k') | content/common/gpu/sync_point_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/sync_point_manager.h
diff --git a/content/common/gpu/sync_point_manager.h b/content/common/gpu/sync_point_manager.h
index 589aace0fe0da7501c3e6be4766bc07d17da1ccf..dd90cd2065f9cdbac7938d0bc7f992b9edef5dbb 100644
--- a/content/common/gpu/sync_point_manager.h
+++ b/content/common/gpu/sync_point_manager.h
@@ -16,8 +16,7 @@
// This class manages the sync points, which allow cross-channel
// synchronization.
-class SyncPointManager : public base::RefCountedThreadSafe<SyncPointManager>,
- public base::ThreadChecker {
+class SyncPointManager : public base::RefCountedThreadSafe<SyncPointManager> {
public:
SyncPointManager();
@@ -42,6 +41,8 @@ class SyncPointManager : public base::RefCountedThreadSafe<SyncPointManager>,
~SyncPointManager();
+ base::ThreadChecker thread_checker_;
+
// Protects the 2 fields below. Note: callbacks shouldn't be called with this
// held.
base::Lock lock_;
« no previous file with comments | « chrome/browser/net/connection_tester.h ('k') | content/common/gpu/sync_point_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698