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

Unified Diff: Source/core/page/AutoscrollController.cpp

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « Source/core/page/AutoscrollController.h ('k') | Source/core/page/DragController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/AutoscrollController.cpp
diff --git a/Source/core/page/AutoscrollController.cpp b/Source/core/page/AutoscrollController.cpp
index dabf8d9a600719cb8ba0171c68fcf8582085dba3..4c8a4453bdc863d5cfcfa1d14ce9a8cf7067a5d3 100644
--- a/Source/core/page/AutoscrollController.cpp
+++ b/Source/core/page/AutoscrollController.cpp
@@ -67,7 +67,7 @@ bool AutoscrollController::autoscrollInProgress(const RenderBox* renderer) const
return m_autoscrollRenderer == renderer;
}
-void AutoscrollController::startAutoscrollForSelection(RenderObject* renderer)
+void AutoscrollController::startAutoscrollForSelection(LayoutObject* renderer)
{
// We don't want to trigger the autoscroll or the panScroll if it's already active
if (m_autoscrollType != NoAutoscroll)
@@ -103,7 +103,7 @@ void AutoscrollController::stopAutoscroll()
m_autoscrollType = NoAutoscroll;
}
-void AutoscrollController::stopAutoscrollIfNeeded(RenderObject* renderer)
+void AutoscrollController::stopAutoscrollIfNeeded(LayoutObject* renderer)
{
if (m_autoscrollRenderer != renderer)
return;
@@ -116,7 +116,7 @@ void AutoscrollController::updateAutoscrollRenderer()
if (!m_autoscrollRenderer)
return;
- RenderObject* renderer = m_autoscrollRenderer;
+ LayoutObject* renderer = m_autoscrollRenderer;
#if OS(WIN)
HitTestResult hitTest = renderer->frame()->eventHandler().hitTestResultAtPoint(m_panScrollStartPos, HitTestRequest::ReadOnly | HitTestRequest::Active);
« no previous file with comments | « Source/core/page/AutoscrollController.h ('k') | Source/core/page/DragController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698