Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 00b1053d9fd8cf98e36945f6dcc16f5441092d7c..b6e4958ca0aebcc221e0a26a479b7979e59a88e5 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -1586,7 +1586,7 @@ void WebViewImpl::popupClosed(PopupContainer* popupContainer) |
registry->didRemoveEventHandler(document, EventHandlerRegistry::WheelEvent); |
} |
-PagePopup* WebViewImpl::openPagePopup(PagePopupClient* client, const IntRect& originBoundsInRootView) |
+PagePopup* WebViewImpl::openPagePopup(PagePopupClient* client) |
{ |
ASSERT(client); |
if (hasOpenedPopup()) |
@@ -1596,7 +1596,7 @@ PagePopup* WebViewImpl::openPagePopup(PagePopupClient* client, const IntRect& or |
WebWidget* popupWidget = m_client->createPopupMenu(WebPopupTypePage); |
ASSERT(popupWidget); |
m_pagePopup = toWebPagePopupImpl(popupWidget); |
- if (!m_pagePopup->initialize(this, client, originBoundsInRootView)) { |
+ if (!m_pagePopup->initialize(this, client)) { |
m_pagePopup->closePopup(); |
m_pagePopup = nullptr; |
} |