| Index: third_party/WebKit/Source/core/frame/RemoteFrame.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/RemoteFrame.cpp b/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
|
| index 7c2e6635b532f91eb57d62f1a6afbad1f2de28cb..92d0d137150a5242d58597f9927c7b965f722796 100644
|
| --- a/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
|
| @@ -70,7 +70,7 @@ void RemoteFrame::navigate(Document& originDocument, const KURL& url, bool repla
|
| // The process where this frame actually lives won't have sufficient information to determine
|
| // correct referrer, since it won't have access to the originDocument. Set it now.
|
| ResourceRequest request(url);
|
| - request.setHTTPReferrer(SecurityPolicy::generateReferrer(originDocument.referrerPolicy(), url, originDocument.outgoingReferrer()));
|
| + request.setHTTPReferrer(SecurityPolicy::generateReferrer(originDocument.getReferrerPolicy(), url, originDocument.outgoingReferrer()));
|
| request.setHasUserGesture(userGestureStatus == UserGestureStatus::Active);
|
| remoteFrameClient()->navigate(request, replaceCurrentItem);
|
| }
|
|
|