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

Unified Diff: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp

Issue 2547653002: Remove dead code processing wheel gesture phase. (Closed)
Patch Set: Created 4 years 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: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
index 33e635cea6a762e63eabe53ab0734761e724d14a..185a3b5394f58aa92b4e2e7b321b828f831b107a 100644
--- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
+++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
@@ -1101,22 +1101,6 @@ void ScrollingCoordinator::frameViewRootLayerDidChange(FrameView* frameView) {
notifyGeometryChanged();
}
-#if OS(MACOSX)
-void ScrollingCoordinator::handleWheelEventPhase(
- PlatformWheelEventPhase phase) {
- DCHECK(isMainThread());
-
- if (!m_page)
- return;
-
- FrameView* frameView = m_page->deprecatedLocalMainFrame()->view();
- if (!frameView)
- return;
-
- frameView->scrollAnimator().handleWheelEventPhase(phase);
-}
-#endif
-
bool ScrollingCoordinator::hasVisibleSlowRepaintViewportConstrainedObjects(
FrameView* frameView) const {
const FrameView::ViewportConstrainedObjectSet* viewportConstrainedObjects =

Powered by Google App Engine
This is Rietveld 408576698