[iOS] no need to deactivate audio session
https://bugs.webkit.org/show_bug.cgi?id=134350

Reviewed by Jer Noble.

* platform/audio/mac/MediaSessionManagerMac.cpp:
(MediaSessionManager::updateSessionState): Don't bother calling 
    AudioSession::setActive(false), WebCore's audio session will be deactivated 
    automatically if another application begins playing audio.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@170485 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed build-fix. Remove unintentionial rename of MediaTime.h -> MediaTimeHash.h.

* Modules/mediasource/SampleMap.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@170486 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[iOS]: Tapping <button> outside of a form is no longer working
https://bugs.webkit.org/show_bug.cgi?id=134319
<rdar://problem/17213346>

Reviewed by Daniel Bates.

Restore behavior of allowing <button> clicks outside of <form>.
This used to be iOS behavior before it was removed in favor of the
OpenSource (Android?) behavior. Now, willRespondToMouseClickEvents
is only used by iOS, so lets restore the iOS behavior.

* html/HTMLButtonElement.cpp:
(WebCore::HTMLButtonElement::willRespondToMouseClickEvents):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@170487 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[MSE] Refactoring: Use C++11 for-loops in SourceBuffer.
https://bugs.webkit.org/show_bug.cgi?id=134352

Reviewed by Darin Adler.

Use C++11 style for-loops where appropriate in SourceBuffer now that the
SampleMap ordered objects support them.

* Modules/mediasource/SourceBuffer.cpp:
(WebCore::SourceBuffer::sourceBufferPrivateSeekToTime):
(WebCore::SourceBuffer::sourceBufferPrivateFastSeekTimeForMediaTime):
(WebCore::SourceBuffer::sourceBufferPrivateAppendComplete):
(WebCore::SourceBuffer::sourceBufferPrivateDidReceiveInitializationSegment):
(WebCore::SourceBuffer::validateInitializationSegment):
(WebCore::SourceBuffer::sourceBufferPrivateDidReceiveSample):

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