Index: webkit/glue/plugins/pepper_url_request_info.h |
diff --git a/webkit/glue/plugins/pepper_url_request_info.h b/webkit/glue/plugins/pepper_url_request_info.h |
index 7aa9fc1dbe4ca5d7844522382fe473b111c4baee..207285efe644593d5876317c4a17b859202c78ef 100644 |
--- a/webkit/glue/plugins/pepper_url_request_info.h |
+++ b/webkit/glue/plugins/pepper_url_request_info.h |
@@ -30,7 +30,7 @@ class URLRequestInfo : public Resource { |
static const PPB_URLRequestInfo* GetInterface(); |
// Resource overrides. |
- URLRequestInfo* AsURLRequestInfo() { return this; } |
+ virtual URLRequestInfo* AsURLRequestInfo(); |
// PPB_URLRequestInfo implementation. |
bool SetBooleanProperty(PP_URLRequestProperty property, bool value); |