-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=100047 Patch by Aaron Colwell <acolwell@chromium.org> on 2012-10-23 Reviewed by Eric Carlson. The m_mediaSource object shouldn't be accessed after the object transitions to closed so this change simply clears the reference when that transition happens. No new tests because the change isn't visible to JavaScript. * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::loadResource): Removed a closed transition that is actually dead code. (WebCore::HTMLMediaElement::setSourceState): Clear the m_mediaSource reference on closed transition. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132280 268f45cc-cd09-0410-ab3c-d52691b4dbfc
c34d9fd6