CTTE: Autoscroll renderer is always a RenderBox.
[WebKit-https.git] / Source / WebCore / page / EventHandler.cpp
index 2517d0238f1d1bbe561ec591e5e7b37ac5de2a85..6d22a49ee38f3aa5feabdf5c6512a37d311ee880 100644 (file)
@@ -1023,7 +1023,7 @@ void EventHandler::startPanScrolling(RenderElement* renderer)
 
 #endif // ENABLE(PAN_SCROLLING)
 
-RenderElement* EventHandler::autoscrollRenderer() const
+RenderBox* EventHandler::autoscrollRenderer() const
 {
     return m_autoscrollController->autoscrollRenderer();
 }