summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/ppb_buffer_impl.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-22 21:48:36 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-22 21:48:36 +0000
commit6328a5b2c36c0067b365a702946a4fbd60577f5d (patch)
tree4670d40fe14ca6ad1935ab8e948e4f7f7f882b97 /webkit/plugins/ppapi/ppb_buffer_impl.h
parentb90c049fca689d466610cecbdbfe9a9935d4e8cf (diff)
downloadchromium_src-6328a5b2c36c0067b365a702946a4fbd60577f5d.zip
chromium_src-6328a5b2c36c0067b365a702946a4fbd60577f5d.tar.gz
chromium_src-6328a5b2c36c0067b365a702946a4fbd60577f5d.tar.bz2
Minor cleanup of resource creation. This eliminates a bunch of copy-and-paste
code for determining the instance for every request, and also removes a bunch of unnecessary Create() functions for simple resources. TEST=none BUG=none Review URL: http://codereview.chromium.org/7233005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90111 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/ppb_buffer_impl.h')
-rw-r--r--webkit/plugins/ppapi/ppb_buffer_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/plugins/ppapi/ppb_buffer_impl.h b/webkit/plugins/ppapi/ppb_buffer_impl.h
index 86dbec9..41bc67a 100644
--- a/webkit/plugins/ppapi/ppb_buffer_impl.h
+++ b/webkit/plugins/ppapi/ppb_buffer_impl.h
@@ -25,7 +25,7 @@ class PPB_Buffer_Impl : public Resource,
public:
virtual ~PPB_Buffer_Impl();
- static PP_Resource Create(PP_Instance instance, uint32_t size);
+ static PP_Resource Create(PluginInstance* instance, uint32_t size);
virtual PPB_Buffer_Impl* AsPPB_Buffer_Impl();