| 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 1c157dfb0546e9058744233c85a05ef4caffdcf7..ba758c07f4741082242595fcdcdc3687ffbd7fb3 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 {
|
|
|
| @@ -430,8 +431,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.
|
|
|