ScrollLatchingState should use WeakPtr<Element>
Created attachment 394856 [details] Patch
Comment on attachment 394856 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=394856&action=review > Source/WebCore/page/scrolling/ScrollLatchingState.h:48 > + void setWheelEventElement(Element*); Does this need to accept null? Could it take a references instead of a pointer? > Source/WebCore/page/scrolling/ScrollLatchingState.h:57 > + void setPreviousWheelScrolledElement(Element*); Ditto. > Source/WebCore/page/scrolling/ScrollLatchingState.h:61 > + Ditto.
https://trac.webkit.org/changeset/259278/webkit
<rdar://problem/61087846>