Index: webkit/glue/plugins/plugin_stream_url.cc |
diff --git a/webkit/glue/plugins/plugin_stream_url.cc b/webkit/glue/plugins/plugin_stream_url.cc |
index a16845bc55b093b43e593cfb8034a952999a5d82..7f9f35585b416c5ed609f7ba1ddd9146ba43a0db 100644 |
--- a/webkit/glue/plugins/plugin_stream_url.cc |
+++ b/webkit/glue/plugins/plugin_stream_url.cc |
@@ -39,6 +39,10 @@ bool PluginStreamUrl::Close(NPReason reason) { |
return result; |
} |
+webkit_glue::WebPluginResourceClient* PluginStreamUrl::AsResourceClient() { |
+ return static_cast<webkit_glue::WebPluginResourceClient*>(this); |
+} |
+ |
void PluginStreamUrl::WillSendRequest(const GURL& url, int http_status_code) { |
if (notify_needed()) { |
// If the plugin participates in HTTP url redirect handling then notify it. |