2010-03-20 Joseph Pecoraro <joepeck@webkit.org>
authorjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 20 Mar 2010 09:04:37 +0000 (09:04 +0000)
committerjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 20 Mar 2010 09:04:37 +0000 (09:04 +0000)
commit563857c45511fbcf4c21fc01b3744b3a4a6dff70
tree2157ab9d4a6549544cf10bc0bbb9e154bef89d9e
parentb22009ac9c41cad1ce2f7e9032f807eaf5bef3ac
2010-03-20  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by David Kilzer.

        Assertion failure in media/video-controls-with-mutation-event-handler.html
        https://bugs.webkit.org/show_bug.cgi?id=36376

        Test: media/video-controls-with-mutation-event-handler.html

        Break early (when not attached) in the defaultEventHandler before the
        slider is completely set up.

        * rendering/MediaControlElements.cpp:
        (WebCore::MediaControlTimelineElement::defaultEventHandler):
        (WebCore::MediaControlVolumeSliderElement::defaultEventHandler):
        * rendering/RenderMedia.cpp:
        (WebCore::RenderMedia::createVolumeSlider):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@56301 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/rendering/MediaControlElements.cpp
WebCore/rendering/RenderMedia.cpp