summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/pepper_url_loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/plugins/pepper_url_loader.h')
-rw-r--r--webkit/glue/plugins/pepper_url_loader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/plugins/pepper_url_loader.h b/webkit/glue/plugins/pepper_url_loader.h
index ee8ddd7..f39a94dd 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_; }