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

Unified Diff: Source/core/rendering/RenderBox.cpp

Issue 620753006: Rendering API cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address jchaffraix remarks Created 6 years, 2 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/core/rendering/RenderBox.cpp
diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp
index 8c150d19f17d4ca1257f7ff3f20a7c7360971482..d87a51310090ed94ffdbb9518c3037fe3becaa23 100644
--- a/Source/core/rendering/RenderBox.cpp
+++ b/Source/core/rendering/RenderBox.cpp
@@ -712,11 +712,6 @@ void RenderBox::autoscroll(const IntPoint& position)
scrollRectToVisible(LayoutRect(currentDocumentPosition, LayoutSize(1, 1)), ScrollAlignment::alignToEdgeIfNeeded, ScrollAlignment::alignToEdgeIfNeeded);
}
-bool RenderBox::autoscrollInProgress() const
-{
- return frame() && frame()->page() && frame()->page()->autoscrollController().autoscrollInProgress(this);
-}
-
// There are two kinds of renderer that can autoscroll.
bool RenderBox::canAutoscroll() const
{

Powered by Google App Engine
This is Rietveld 408576698