ScrollingTree::shouldHandleWheelEventSynchronously() which runs on the event dispatcher thread consults m_rootNode, but no locking prevents this being modified by the scrolling thread at the same time.