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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp

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: rebase Created 4 years, 9 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/scroll/ScrollableArea.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp b/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
index d4474d19071c8de78dabd1e77132e74ab848efec..7c8e82d2c6f6a6be413a59cd1990348452fd8254 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
@@ -80,8 +80,7 @@ int ScrollableArea::maxOverlapBetweenPages()
}
ScrollableArea::ScrollableArea()
- : m_inLiveResize(false)
- , m_scrollbarOverlayStyle(ScrollbarOverlayStyleDefault)
+ : m_scrollbarOverlayStyle(ScrollbarOverlayStyleDefault)
, m_scrollOriginChanged(false)
, m_horizontalScrollbarNeedsPaintInvalidation(false)
, m_verticalScrollbarNeedsPaintInvalidation(false)
@@ -309,24 +308,6 @@ void ScrollableArea::setScrollOffsetFromInternals(const IntPoint& offset)
scrollPositionChanged(DoublePoint(offset), ProgrammaticScroll);
}
-void ScrollableArea::willStartLiveResize()
-{
- if (m_inLiveResize)
- return;
- m_inLiveResize = true;
- if (ScrollAnimatorBase* scrollAnimator = existingScrollAnimator())
- scrollAnimator->willStartLiveResize();
-}
-
-void ScrollableArea::willEndLiveResize()
-{
- if (!m_inLiveResize)
- return;
- m_inLiveResize = false;
- if (ScrollAnimatorBase* scrollAnimator = existingScrollAnimator())
- scrollAnimator->willEndLiveResize();
-}
-
void ScrollableArea::contentAreaWillPaint() const
{
if (ScrollAnimatorBase* scrollAnimator = existingScrollAnimator())
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollableArea.h ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698