Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index d51616f9a4a3adf4f1052d651bfffbf93e3e6eec..bce3d37477b6c8f47f744221ab38bcd9f7aaf048 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -1589,7 +1589,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()) |
@@ -1599,7 +1599,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; |
} |