Index: content/browser/loader/mime_sniffing_resource_handler.cc |
diff --git a/content/browser/loader/mime_sniffing_resource_handler.cc b/content/browser/loader/mime_sniffing_resource_handler.cc |
index 25a4794ba11ade2acd8ab21afa537ac95bcaa49d..bba9d01aa6aae46dea4645c16d6fda82ddf9d171 100644 |
--- a/content/browser/loader/mime_sniffing_resource_handler.cc |
+++ b/content/browser/loader/mime_sniffing_resource_handler.cc |
@@ -36,6 +36,7 @@ |
#include "net/http/http_content_disposition.h" |
#include "net/http/http_response_headers.h" |
#include "net/url_request/url_request.h" |
+#include "url/origin.h" |
namespace content { |
@@ -431,8 +432,8 @@ bool MimeSniffingResourceHandler::CheckForPluginHandler( |
WebPluginInfo plugin; |
bool has_plugin = plugin_service_->GetPluginInfo( |
info->GetChildID(), info->GetRenderFrameID(), info->GetContext(), |
- request()->url(), GURL(), response_->head.mime_type, allow_wildcard, |
- &stale, &plugin, NULL); |
+ request()->url(), url::Origin(), response_->head.mime_type, |
+ allow_wildcard, &stale, &plugin, NULL); |
if (stale) { |
// Refresh the plugins asynchronously. |