Index: webkit/glue/plugins/pepper_file_system.h |
diff --git a/webkit/glue/plugins/pepper_file_system.h b/webkit/glue/plugins/pepper_file_system.h |
index 97f1c7df7c8a41603af999a7daa8d5b73ccb79e3..042a69d4e6bcbcdd0e0edcc0c78f948a3c47d8c3 100644 |
--- a/webkit/glue/plugins/pepper_file_system.h |
+++ b/webkit/glue/plugins/pepper_file_system.h |
@@ -23,7 +23,7 @@ class FileSystem : public Resource { |
static const PPB_FileSystem_Dev* GetInterface(); |
FileSystem(PluginInstance* instance, PP_FileSystemType_Dev type); |
- FileSystem* AsFileSystem() { return this; } |
+ virtual FileSystem* AsFileSystem(); |
PluginInstance* instance() { return instance_; } |
PP_FileSystemType_Dev type() { return type_; } |