Scroll latching logic can get stuck in 'scrollable="no"' iframes
[WebKit-https.git] / Source / WebCore / page / scrolling / ScrollLatchingState.cpp
index cbd3d6c..e39d99e 100644 (file)
@@ -60,7 +60,7 @@ void ScrollLatchingState::setWidgetIsLatched(bool isOverWidget)
     m_widgetIsLatched = isOverWidget;
 }
 
-void ScrollLatchingState::setPreviousWheelScrolledElement(PassRefPtr<Element> element)
+void ScrollLatchingState::setPreviousWheelScrolledElement(RefPtr<Element>&& element)
 {
     m_previousWheelScrolledElement = element;
 }