Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(856)

Unified Diff: Source/web/WebPagePopupImpl.cpp

Issue 598503003: Revert of Remove default args to several PageWidgetDelegate members, try 2. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/PageWidgetDelegate.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPagePopupImpl.cpp
diff --git a/Source/web/WebPagePopupImpl.cpp b/Source/web/WebPagePopupImpl.cpp
index bf001cf9b4cb0cb2ae4dfe88493d227d9ddef551..0d3cb7acc7713fbb79f6a1be9e2893df4e996de2 100644
--- a/Source/web/WebPagePopupImpl.cpp
+++ b/Source/web/WebPagePopupImpl.cpp
@@ -323,7 +323,7 @@
{
// FIXME: This should use frameTime.lastFrameTimeMonotonic but doing so
// breaks tests.
- PageWidgetDelegate::animate(m_page.get(), monotonicallyIncreasingTime(), m_page->deprecatedLocalMainFrame());
+ PageWidgetDelegate::animate(m_page.get(), monotonicallyIncreasingTime());
}
void WebPagePopupImpl::willCloseLayerTreeView()
@@ -334,13 +334,13 @@
void WebPagePopupImpl::layout()
{
- PageWidgetDelegate::layout(m_page.get(), m_page->deprecatedLocalMainFrame());
+ PageWidgetDelegate::layout(m_page.get());
}
void WebPagePopupImpl::paint(WebCanvas* canvas, const WebRect& rect)
{
if (!m_closing)
- PageWidgetDelegate::paint(m_page.get(), 0, canvas, rect, PageWidgetDelegate::Opaque, m_page->deprecatedLocalMainFrame());
+ PageWidgetDelegate::paint(m_page.get(), 0, canvas, rect, PageWidgetDelegate::Opaque);
}
void WebPagePopupImpl::resize(const WebSize& newSize)
@@ -379,7 +379,7 @@
{
if (m_closing)
return false;
- return PageWidgetDelegate::handleInputEvent(m_page.get(), *this, event, m_page->deprecatedLocalMainFrame());
+ return PageWidgetDelegate::handleInputEvent(m_page.get(), *this, event);
}
bool WebPagePopupImpl::handleKeyEvent(const PlatformKeyboardEvent& event)
« no previous file with comments | « Source/web/PageWidgetDelegate.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698