Index: webkit/glue/plugins/pepper_url_loader.h |
diff --git a/webkit/glue/plugins/pepper_url_loader.h b/webkit/glue/plugins/pepper_url_loader.h |
index ee8ddd70e96304c2203e1bb4755d85fc8324bc24..f39a94dd0aa0323f8fa671a383333f209bacf0fe 100644 |
--- a/webkit/glue/plugins/pepper_url_loader.h |
+++ b/webkit/glue/plugins/pepper_url_loader.h |
@@ -44,7 +44,7 @@ class URLLoader : public Resource, |
static const PPB_URLLoaderTrusted* GetTrustedInterface(); |
// Resource overrides. |
- URLLoader* AsURLLoader() { return this; } |
+ virtual URLLoader* AsURLLoader(); |
// PPB_URLLoader implementation. |
int32_t Open(URLRequestInfo* request, PP_CompletionCallback callback); |
@@ -82,7 +82,7 @@ class URLLoader : public Resource, |
const WebKit::WebURLError& error); |
// PluginInstance::Observer implementation. |
- void InstanceDestroyed(PluginInstance* instance); |
+ virtual void InstanceDestroyed(PluginInstance* instance); |
URLResponseInfo* response_info() const { return response_info_; } |