Index: third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
index 148cd0ecb1e42430ccb1d4be73f47c5a6854de08..2751595e18ae965bf3e45545d8957f1a84555a45 100644 |
--- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
@@ -90,7 +90,7 @@ class PagePopupChromeClient final : public EmptyChromeClient { |
IntRect rootWindowRect() override { return m_popup->windowRectInScreen(); } |
IntRect viewportToScreen(const IntRect& rect, |
- const Widget* widget) const override { |
+ const FrameViewBase* frameViewBase) const override { |
WebRect rectInScreen(rect); |
WebRect windowRect = m_popup->windowRectInScreen(); |
m_popup->widgetClient()->convertViewportToWindow(&rectInScreen); |
@@ -123,7 +123,7 @@ class PagePopupChromeClient final : public EmptyChromeClient { |
m_popup->widgetClient()->didInvalidateRect(paintRect); |
} |
- void scheduleAnimation(Widget*) override { |
+ void scheduleAnimation(FrameViewBase*) override { |
// Calling scheduleAnimation on m_webView so WebViewTestProxy will call |
// beginFrame. |
if (LayoutTestSupport::isRunningLayoutTest()) |