Index: webkit/glue/plugins/pepper_file_ref.h |
diff --git a/webkit/glue/plugins/pepper_file_ref.h b/webkit/glue/plugins/pepper_file_ref.h |
index 88020c19988f121c7ed6443408a2b5867f7a1420..d0a04399bc84e668cdc600d367fb822459588e33 100644 |
--- a/webkit/glue/plugins/pepper_file_ref.h |
+++ b/webkit/glue/plugins/pepper_file_ref.h |
@@ -32,7 +32,7 @@ class FileRef : public Resource { |
static const PPB_FileRef_Dev* GetInterface(); |
// Resource overrides. |
- FileRef* AsFileRef() { return this; } |
+ virtual FileRef* AsFileRef(); |
// PPB_FileRef implementation. |
std::string GetName() const; |