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

Unified Diff: gpu/command_buffer/client/share_group.h

Issue 10067035: RefCounted types should not have public destructors, media/ and gpu/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 7 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 | « no previous file | gpu/command_buffer/client/share_group.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/share_group.h
diff --git a/gpu/command_buffer/client/share_group.h b/gpu/command_buffer/client/share_group.h
index 3a0df32b624a4e4c8e3412b61ad7ce5a06585b8b..6762ff6c6266a9fd1a91764e8201567761cfcce3 100644
--- a/gpu/command_buffer/client/share_group.h
+++ b/gpu/command_buffer/client/share_group.h
@@ -49,7 +49,6 @@ class GLES2_IMPL_EXPORT ShareGroup
typedef scoped_refptr<ShareGroup> Ref;
ShareGroup(bool share_resources, bool bind_generates_resource);
- ~ShareGroup();
void SetGLES2ImplementationForDestruction(GLES2Implementation* gl_impl);
@@ -72,6 +71,9 @@ class GLES2_IMPL_EXPORT ShareGroup
}
private:
+ friend class gpu::RefCountedThreadSafe<ShareGroup>;
+ ~ShareGroup();
+
scoped_ptr<IdHandlerInterface> id_handlers_[id_namespaces::kNumIdNamespaces];
scoped_ptr<ProgramInfoManager> program_info_manager_;
« no previous file with comments | « no previous file | gpu/command_buffer/client/share_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698