Index: Source/web/ChromeClientImpl.cpp |
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp |
index 6bb785ac4a5b2d596385a9229aeeb2b397203c17..d96cc2ae8d847b66fac94d1634723c80250551ff 100644 |
--- a/Source/web/ChromeClientImpl.cpp |
+++ b/Source/web/ChromeClientImpl.cpp |
@@ -222,7 +222,7 @@ Page* ChromeClientImpl::createWindow(LocalFrame* frame, const FrameLoadRequest& |
policy = getNavigationPolicy(); |
ASSERT(frame->document()); |
- Fullscreen::from(*frame->document()).fullyExitFullscreen(); |
+ Fullscreen::fullyExitFullscreen(*frame->document()); |
WebViewImpl* newView = toWebViewImpl( |
m_webView->client()->createView(WebLocalFrameImpl::fromFrame(frame), WrappedResourceRequest(r.resourceRequest()), features, r.frameName(), policy, shouldSendReferrer == NeverSendReferrer)); |