diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-31 13:12:49 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-31 13:12:49 +0000 |
commit | b4dbcb7a2ca63b975cfa051f0836f5a98c172f03 (patch) | |
tree | 7e722ea247a1a571993c9c5461691b5d502a64f9 /webkit | |
parent | de03d261807d13088886258b48c3f0d9c8a2655f (diff) | |
download | chromium_src-b4dbcb7a2ca63b975cfa051f0836f5a98c172f03.zip chromium_src-b4dbcb7a2ca63b975cfa051f0836f5a98c172f03.tar.gz chromium_src-b4dbcb7a2ca63b975cfa051f0836f5a98c172f03.tar.bz2 |
Remove unused "virtual" keywords.
These were added in http://codereview.chromium.org/4545003, but the
classes they were added to do not derive from classes with these
methods, and the classes don't have subclasses either. And the
keyword confuses some tools.
BUG=84424
TEST=none
Review URL: http://codereview.chromium.org/7084035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87298 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/plugins/npapi/plugin_instance.h | 2 | ||||
-rw-r--r-- | webkit/plugins/ppapi/ppapi_plugin_instance.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/webkit/plugins/npapi/plugin_instance.h b/webkit/plugins/npapi/plugin_instance.h index 01ebf2f7..d24bc9f 100644 --- a/webkit/plugins/npapi/plugin_instance.h +++ b/webkit/plugins/npapi/plugin_instance.h @@ -162,7 +162,7 @@ class PluginInstance : public base::RefCountedThreadSafe<PluginInstance> { // If the plugin instance is backed by a texture, return its ID in the // compositor's namespace. Otherwise return 0. Returns 0 by default. - virtual unsigned GetBackingTextureId(); + unsigned GetBackingTextureId(); // Helper that implements NPN_PluginThreadAsyncCall semantics void PluginThreadAsyncCall(void (*func)(void *), diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.h b/webkit/plugins/ppapi/ppapi_plugin_instance.h index d3085374..87d86ed 100644 --- a/webkit/plugins/ppapi/ppapi_plugin_instance.h +++ b/webkit/plugins/ppapi/ppapi_plugin_instance.h @@ -143,7 +143,7 @@ class PluginInstance : public base::RefCounted<PluginInstance> { // If the plugin instance is backed by a texture, return its texture ID in the // compositor's namespace. Otherwise return 0. Returns 0 by default. - virtual unsigned GetBackingTextureId(); + unsigned GetBackingTextureId(); // Commit the backing texture to the screen once the side effects some // rendering up to an offscreen SwapBuffers are visible. |