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

Unified Diff: Source/web/WebPopupMenuImpl.cpp

Issue 348193002: Remove some dead scrolling paths and unused params (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
Index: Source/web/WebPopupMenuImpl.cpp
diff --git a/Source/web/WebPopupMenuImpl.cpp b/Source/web/WebPopupMenuImpl.cpp
index b9048ba7e01488e00c71e4341df78e6bc50e3701..6878c179eca51ac1b262d4b9991c7fd04abe5ba3 100644
--- a/Source/web/WebPopupMenuImpl.cpp
+++ b/Source/web/WebPopupMenuImpl.cpp
@@ -388,13 +388,8 @@ void WebPopupMenuImpl::scheduleAnimation()
{
}
-void WebPopupMenuImpl::scroll(const IntSize& scrollDelta, const IntRect& scrollRect, const IntRect& clipRect)
+void WebPopupMenuImpl::scroll(const IntRect& clipRect)
{
- if (m_client) {
- int dx = scrollDelta.width();
- int dy = scrollDelta.height();
- m_client->didScrollRect(dx, dy, clipRect);
- }
if (m_rootLayer)
m_rootLayer->layer()->invalidateRect(FloatRect(clipRect));
}

Powered by Google App Engine
This is Rietveld 408576698