diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-22 21:48:36 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-22 21:48:36 +0000 |
commit | 6328a5b2c36c0067b365a702946a4fbd60577f5d (patch) | |
tree | 4670d40fe14ca6ad1935ab8e948e4f7f7f882b97 /webkit/plugins/ppapi/ppb_video_decoder_impl.h | |
parent | b90c049fca689d466610cecbdbfe9a9935d4e8cf (diff) | |
download | chromium_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_video_decoder_impl.h')
-rw-r--r-- | webkit/plugins/ppapi/ppb_video_decoder_impl.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/webkit/plugins/ppapi/ppb_video_decoder_impl.h b/webkit/plugins/ppapi/ppb_video_decoder_impl.h index bc6b7ff..5b4a326 100644 --- a/webkit/plugins/ppapi/ppb_video_decoder_impl.h +++ b/webkit/plugins/ppapi/ppb_video_decoder_impl.h @@ -36,8 +36,6 @@ class PPB_VideoDecoder_Impl : public Resource, explicit PPB_VideoDecoder_Impl(PluginInstance* instance); virtual ~PPB_VideoDecoder_Impl(); - static PP_Resource Create(PP_Instance instance); - // ResourceObjectBase overrides. virtual PPB_VideoDecoder_API* AsPPB_VideoDecoder_API() OVERRIDE; |