-
eric.carlson@apple.com authored
Reviewed by Dan Bernstein r47744 causes media/video-controls-with-mutation-event-handler.html to crash https://bugs.webkit.org/show_bug.cgi?id=28732 * rendering/MediaControlElements.cpp: (WebCore::MediaControlVolumeSliderElement::MediaControlVolumeSliderElement): Don't call setAttribute from the construtor, any registered mutation event listener will cause a crash. * rendering/RenderMedia.cpp: (WebCore::RenderMedia::createVolumeSlider): Set the maxAttr here instead of in the constructor. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47774 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f706b11d