Index: webkit/glue/plugins/pepper_font.h |
diff --git a/webkit/glue/plugins/pepper_font.h b/webkit/glue/plugins/pepper_font.h |
index 3cc001c652178c4ef5add7de6558b75aecf8cbc8..e9fdaff06d597914b0ffc20cc299f83688ce9dcd 100644 |
--- a/webkit/glue/plugins/pepper_font.h |
+++ b/webkit/glue/plugins/pepper_font.h |
@@ -27,7 +27,7 @@ class Font : public Resource { |
static const PPB_Font_Dev* GetInterface(); |
// Resource overrides. |
- Font* AsFont() { return this; } |
+ virtual Font* AsFont(); |
// PPB_Font implementation. |
bool Describe(PP_FontDescription_Dev* description, |