Wheel event callback removing the window causes crash in WebCore.
[WebKit-https.git] / Source / WebCore / rendering / RenderLayer.cpp
index 2da5622..dfcbf67 100644 (file)
@@ -2349,6 +2349,8 @@ void RenderLayer::scrollTo(const ScrollPosition& position)
     if (!box)
         return;
 
+    LOG_WITH_STREAM(Scrolling, stream << "RenderLayer::scrollTo " << position);
+
     ScrollPosition newPosition = position;
     if (box->style().overflowX() != OMARQUEE) {
         // Ensure that the dimensions will be computed if they need to be (for overflow:hidden blocks).