Index: webkit/glue/plugins/pepper_file_io.h |
diff --git a/webkit/glue/plugins/pepper_file_io.h b/webkit/glue/plugins/pepper_file_io.h |
index 6fee92dffeb8dc5097a3a0479de0be4ddd1dd132..0ed21946888e1af35bd5b052d89a9c6400c52ad1 100644 |
--- a/webkit/glue/plugins/pepper_file_io.h |
+++ b/webkit/glue/plugins/pepper_file_io.h |
@@ -37,7 +37,7 @@ class FileIO : public Resource { |
static const PPB_FileIOTrusted_Dev* GetTrustedInterface(); |
// Resource overrides. |
- FileIO* AsFileIO() { return this; } |
+ virtual FileIO* AsFileIO(); |
// PPB_FileIO implementation. |
int32_t Open(FileRef* file_ref, |