| Index: Source/web/ChromeClientImpl.cpp
|
| diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
|
| index 86d552f88f64cdf7c7a659522ff6f3e19e71dda4..06e1eae8b79206e0c1ac493df2a21888115de68c 100644
|
| --- a/Source/web/ChromeClientImpl.cpp
|
| +++ b/Source/web/ChromeClientImpl.cpp
|
| @@ -205,7 +205,7 @@ void ChromeClientImpl::focusedFrameChanged(LocalFrame* frame)
|
| }
|
|
|
| Page* ChromeClientImpl::createWindow(LocalFrame* frame, const FrameLoadRequest& r, const WindowFeatures& features,
|
| - NavigationPolicy navigationPolicy, ShouldSendReferrer shouldSendReferrer)
|
| + NavigationPolicy navigationPolicy, ReferrerPolicy referrerPolicy)
|
| {
|
| if (!m_webView->client())
|
| return nullptr;
|
| @@ -220,7 +220,7 @@ Page* ChromeClientImpl::createWindow(LocalFrame* frame, const FrameLoadRequest&
|
| Fullscreen::fullyExitFullscreen(*frame->document());
|
|
|
| WebViewImpl* newView = toWebViewImpl(
|
| - m_webView->client()->createView(WebLocalFrameImpl::fromFrame(frame), WrappedResourceRequest(r.resourceRequest()), features, r.frameName(), policy, shouldSendReferrer == NeverSendReferrer));
|
| + m_webView->client()->createView(WebLocalFrameImpl::fromFrame(frame), WrappedResourceRequest(r.resourceRequest()), features, r.frameName(), policy, referrerPolicy == ReferrerPolicyNever));
|
| if (!newView)
|
| return nullptr;
|
| return newView->page();
|
|
|