Index: Source/web/WebPagePopupImpl.cpp |
diff --git a/Source/web/WebPagePopupImpl.cpp b/Source/web/WebPagePopupImpl.cpp |
index fae8fef4e5d6f9ae4673b77e1101b2ac98fe2780..0442bef6d883d5e93ded1a72df254bb132d81f39 100644 |
--- a/Source/web/WebPagePopupImpl.cpp |
+++ b/Source/web/WebPagePopupImpl.cpp |
@@ -92,7 +92,7 @@ private: |
m_popup->widgetClient()->setWindowRect(m_popup->m_windowRectInScreen); |
} |
- virtual IntRect rootViewToScreen(const IntRect& rect) const override |
+ virtual IntRect viewportToScreen(const IntRect& rect) const override |
{ |
IntRect rectInScreen(rect); |
rectInScreen.move(m_popup->m_windowRectInScreen.x, m_popup->m_windowRectInScreen.y); |
@@ -212,7 +212,7 @@ WebPagePopupImpl::~WebPagePopupImpl() |
ASSERT(!m_page); |
} |
-bool WebPagePopupImpl::initialize(WebViewImpl* webView, PagePopupClient* popupClient, const IntRect&) |
+bool WebPagePopupImpl::initialize(WebViewImpl* webView, PagePopupClient* popupClient) |
{ |
ASSERT(webView); |
ASSERT(popupClient); |