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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.h

Issue 10386080: Rename nacl::RefCounted to nacl::RefCountedThreadSafe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: License bump 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
Index: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.h
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.h b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.h
index 7ce19cbf5508689af3e5068d5044bbd21491b3ff..c457e19dd980f3da56454bd0f6319a55119f8800 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.h
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.h
@@ -29,7 +29,6 @@ namespace ppapi_proxy {
class PluginGraphics3D : public PluginResource {
public:
PluginGraphics3D();
- virtual ~PluginGraphics3D();
static const PPB_Graphics3D* GetInterface();
static const PPB_OpenGLES2* GetOpenGLESInterface();
@@ -66,8 +65,13 @@ class PluginGraphics3D : public PluginResource {
return implFromResourceSlow(graphics3d_id);
}
+ protected:
+ virtual ~PluginGraphics3D();
private:
+ static gpu::gles2::GLES2Implementation* implFromResourceSlow(
+ PP_Resource context);
+
// TODO(nfullagar): make cached_* variables TLS once 64bit NaCl is faster,
// and the proxy has support for being called off the main thread.
// see: http://code.google.com/p/chromium/issues/detail?id=99217
@@ -81,9 +85,6 @@ class PluginGraphics3D : public PluginResource {
scoped_ptr<gpu::gles2::GLES2CmdHelper> gles2_helper_;
PP_Instance instance_id_;
- static gpu::gles2::GLES2Implementation* implFromResourceSlow(
- PP_Resource context);
-
IMPLEMENT_RESOURCE(PluginGraphics3D);
NACL_DISALLOW_COPY_AND_ASSIGN(PluginGraphics3D);
};

Powered by Google App Engine
This is Rietveld 408576698