Scroll latching logic can get stuck in 'scrollable="no"' iframes
[WebKit-https.git] / Source / WebCore / page / scrolling / ScrollLatchingState.h
index 7b7dcad..b1ddde5 100644 (file)
@@ -50,7 +50,7 @@ public:
     void setWidgetIsLatched(bool isOverWidget);
 
     Element* previousWheelScrolledElement() { return m_previousWheelScrolledElement.get(); }
-    void setPreviousWheelScrolledElement(PassRefPtr<Element>);
+    void setPreviousWheelScrolledElement(RefPtr<Element>&&);
     
     ContainerNode* scrollableContainer() { return m_scrollableContainer.get(); }
     void setScrollableContainer(PassRefPtr<ContainerNode>);