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

Unified Diff: webkit/glue/plugins/pepper_widget.h

Issue 5648004: Add the "virtual" keyword on method overrides that are missing it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing file Created 10 years 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/glue/plugins/pepper_video_decoder.cc ('k') | webkit/glue/plugins/pepper_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/pepper_widget.h
diff --git a/webkit/glue/plugins/pepper_widget.h b/webkit/glue/plugins/pepper_widget.h
index cf937bd365e1f698a01ac4a02a1c8df8cbd6af5a..55d065048acab8cca0e0cdf01533bccc259b8cd1 100644
--- a/webkit/glue/plugins/pepper_widget.h
+++ b/webkit/glue/plugins/pepper_widget.h
@@ -27,7 +27,7 @@ class Widget : public Resource {
static const PPB_Widget_Dev* GetInterface();
// Resource overrides.
- Widget* AsWidget() { return this; }
+ virtual Widget* AsWidget();
// PPB_Widget implementation.
virtual bool Paint(const PP_Rect* rect, ImageData* image) = 0;
« no previous file with comments | « webkit/glue/plugins/pepper_video_decoder.cc ('k') | webkit/glue/plugins/pepper_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698