Index: Source/web/ChromeClientImpl.cpp |
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp |
index 779959c35e6b69ba7ca3dcac8bafbb9ba501d744..c6ab723b7cc5e1f3cb787eaf29c70fde6c7ea036 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) |