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_; |