2011-02-26 Yi Shen <yi.4.shen@nokia.com>
authorAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Mon, 28 Feb 2011 21:28:38 +0000 (18:28 -0300)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Mon, 28 Feb 2011 21:28:38 +0000 (18:28 -0300)
commit847d99314098aabd6cfd099fabbdabfdf5b47b55
tree17a830ff733afeebc824329b99411b42c4e1ea6e
parent677fa11d1490707b4beb2c21b1ce62e00136ce70
2011-02-26  Yi Shen  <yi.4.shen@nokia.com>

        Reviewed by Eric Carlson.

        Missing volumechangeEvent in case of mediaPlayerVolumeChanged gets callback
        https://bugs.webkit.org/show_bug.cgi?id=55147

        When HTMLMediaElement::mediaPlayerVolumeChanged() gets callback,
        a volumechangeEvent event should be fired if the volume gets changed.

        Test: media/event-attributes.html

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::setMuted): Remove updateVolume() since it does nothing when m_player is 0.
        (WebCore::HTMLMediaElement::mediaPlayerVolumeChanged): Fire a volumechangeEvent when the volume is changed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79768 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Conflicts:

Source/WebCore/ChangeLog
Source/WebCore/html/HTMLMediaElement.cpp
WebCore/ChangeLog
WebCore/html/HTMLMediaElement.cpp