| Index: content/browser/loader/resource_dispatcher_host_impl.cc
|
| diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| index c143d034dc6a7d7da7426ad0052f5631560cdec3..98d0113c26b6db1e4fd8d35eb6cd7a7d290f1d54 100644
|
| --- a/content/browser/loader/resource_dispatcher_host_impl.cc
|
| +++ b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| @@ -415,7 +415,6 @@ void NotifyForEachFrameFromUI(
|
|
|
| } // namespace
|
|
|
| -
|
| ResourceDispatcherHostImpl::LoadInfo::LoadInfo() {}
|
| ResourceDispatcherHostImpl::LoadInfo::LoadInfo(const LoadInfo& other) = default;
|
| ResourceDispatcherHostImpl::LoadInfo::~LoadInfo() {}
|
| @@ -2672,7 +2671,7 @@ bool ResourceDispatcherHostImpl::ShouldServiceRequest(
|
| headers.GetHeader("Origin", &origin_string) && origin_string != "null";
|
| if (has_origin) {
|
| GURL origin(origin_string);
|
| - if (!policy->CanCommitURL(child_id, origin)) {
|
| + if (!policy->CanSetAsOriginHeader(child_id, origin)) {
|
| VLOG(1) << "Killed renderer for illegal origin: " << origin_string;
|
| bad_message::ReceivedBadMessage(filter, bad_message::RDH_ILLEGAL_ORIGIN);
|
| return false;
|
|
|