-
bruno.abinader@basyskom.com authored
https://bugs.webkit.org/show_bug.cgi?id=114681 Reviewed by Daniel Bates. Avoided duplicated code by moving ScriptedAnimationController clearance code to a common function used by both Document::dispose() and Document::detach(). No new tests, no behavior changes. * dom/Document.cpp: (WebCore::Document::dispose): (WebCore::Document::detach): (WebCore::Document::clearScriptedAnimationController): Added. * dom/Document.h: (Document): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148618 268f45cc-cd09-0410-ab3c-d52691b4dbfc
bd448dc8