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

Unified Diff: third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm

Issue 1749383002: Eliminate uncalled will___LiveResize and inLiveResize from RenderViewImpl through WebWidget down to… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm
diff --git a/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm b/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm
index 24015a07aced8f3d50d3c0d62835510c13766edd..a66c6b2036ec61f857917948ab94a7abf35f370b 100644
--- a/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm
+++ b/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm
@@ -854,14 +854,6 @@ void ScrollAnimatorMac::mouseExitedScrollbar(Scrollbar& scrollbar) const
}
}
-void ScrollAnimatorMac::willStartLiveResize()
-{
- if (!scrollableArea()->scrollbarsCanBeActive())
- return;
- if (ScrollbarThemeMacCommon::isOverlayAPIAvailable())
- [m_scrollbarPainterController.get() startLiveResize];
-}
-
void ScrollAnimatorMac::contentsResized() const
{
if (!scrollableArea()->scrollbarsCanBeActive())
@@ -870,14 +862,6 @@ void ScrollAnimatorMac::contentsResized() const
[m_scrollbarPainterController.get() contentAreaDidResize];
}
-void ScrollAnimatorMac::willEndLiveResize()
-{
- if (!scrollableArea()->scrollbarsCanBeActive())
- return;
- if (ScrollbarThemeMacCommon::isOverlayAPIAvailable())
- [m_scrollbarPainterController.get() endLiveResize];
-}
-
void ScrollAnimatorMac::contentAreaDidShow() const
{
if (!scrollableArea()->scrollbarsCanBeActive())

Powered by Google App Engine
This is Rietveld 408576698