https://bugs.webkit.org/show_bug.cgi?id=57997
<rdar://problem/9187856> REGRESSION(r75555): ~5-7 MB increase in memory between iBench runs Navigating away from a Scrolled page which queues a scroll event that is never dispatched. Cancel all enqueued events when detaching the Document the events cannot keep the Document alive. Reviewed by Darin Adler. No change in functionality so no new tests. * dom/Document.cpp: (WebCore::Document::detach): * dom/EventQueue.cpp: (WebCore::EventQueue::cancelQueuedEvents): * dom/EventQueue.h: git-svn-id: svn://svn.chromium.org/blink/trunk@83128 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment