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

Unified Diff: webkit/plugins/ppapi/ppb_surface_3d_impl.h

Issue 7669055: Remove webkit::ppapi::Resource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nulls auditeed Created 9 years, 4 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 | « webkit/plugins/ppapi/ppb_scrollbar_impl.cc ('k') | webkit/plugins/ppapi/ppb_surface_3d_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_surface_3d_impl.h
diff --git a/webkit/plugins/ppapi/ppb_surface_3d_impl.h b/webkit/plugins/ppapi/ppb_surface_3d_impl.h
index 11703af022bdef0ad5cecf0d53f893341f18a382..deea404efd78305fcd3b51fc8658a8df19be907d 100644
--- a/webkit/plugins/ppapi/ppb_surface_3d_impl.h
+++ b/webkit/plugins/ppapi/ppb_surface_3d_impl.h
@@ -6,10 +6,10 @@
#define WEBKIT_PLUGINS_PPAPI_PPB_SURFACE_3D_IMPL_H_
#include "base/memory/ref_counted.h"
+#include "ppapi/shared_impl/resource.h"
#include "ppapi/thunk/ppb_surface_3d_api.h"
#include "webkit/plugins/ppapi/callbacks.h"
#include "webkit/plugins/ppapi/plugin_delegate.h"
-#include "webkit/plugins/ppapi/resource.h"
namespace gfx {
class Size;
@@ -20,12 +20,12 @@ namespace ppapi {
class PPB_Context3D_Impl;
-class PPB_Surface3D_Impl : public Resource,
+class PPB_Surface3D_Impl : public ::ppapi::Resource,
public ::ppapi::thunk::PPB_Surface3D_API {
public:
virtual ~PPB_Surface3D_Impl();
- static PP_Resource Create(PluginInstance* instance_id,
+ static PP_Resource Create(PP_Instance instance,
PP_Config3D_Dev config,
const int32_t* attrib_list);
@@ -58,7 +58,7 @@ class PPB_Surface3D_Impl : public Resource,
void OnContextLost();
private:
- explicit PPB_Surface3D_Impl(PluginInstance* instance);
+ explicit PPB_Surface3D_Impl(PP_Instance instance);
bool Init(PP_Config3D_Dev config, const int32_t* attrib_list);
« no previous file with comments | « webkit/plugins/ppapi/ppb_scrollbar_impl.cc ('k') | webkit/plugins/ppapi/ppb_surface_3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698