Index: Source/web/ChromeClientImpl.cpp |
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp |
index ec7aa940bed3db6c6a5574f94764cef2b14bfbae..b38e3ec160822481d30bfc1f93cb7607499b1842 100644 |
--- a/Source/web/ChromeClientImpl.cpp |
+++ b/Source/web/ChromeClientImpl.cpp |
@@ -498,9 +498,9 @@ void ChromeClientImpl::scheduleAnimationForFrame(LocalFrame* localRoot) |
WebLocalFrameImpl::fromFrame(localRoot)->frameWidget()->scheduleAnimation(); |
} |
-IntRect ChromeClientImpl::rootViewToScreen(const IntRect& rect) const |
+IntRect ChromeClientImpl::viewportToScreen(const IntRect& rectInViewport) const |
{ |
- IntRect screenRect(rect); |
+ IntRect screenRect(rectInViewport); |
if (m_webView->client()) { |
WebRect windowRect = m_webView->client()->windowRect(); |
@@ -755,9 +755,9 @@ PassRefPtrWillBeRawPtr<PopupMenu> ChromeClientImpl::createPopupMenu(LocalFrame& |
return adoptRefWillBeNoop(new PopupMenuChromium(frame, client)); |
} |
-PagePopup* ChromeClientImpl::openPagePopup(PagePopupClient* client, const IntRect& originBoundsInRootView) |
+PagePopup* ChromeClientImpl::openPagePopup(PagePopupClient* client) |
{ |
- return m_webView->openPagePopup(client, originBoundsInRootView); |
+ return m_webView->openPagePopup(client); |
} |
void ChromeClientImpl::closePagePopup(PagePopup* popup) |