Media Session: MediaSession.releaseSession() renamed to deactivate()
authoreric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Aug 2015 18:21:21 +0000 (18:21 +0000)
committereric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Aug 2015 18:21:21 +0000 (18:21 +0000)
commit4b55993b1c7f0b61dcd9db4fd9802a9e0e70c90f
tree25ef8704afe111949bb391979e023eb461ff03df
parent37c730f3edfd8b333103220d2b861d5dd0e8a649
Media Session: MediaSession.releaseSession() renamed to deactivate()
https://bugs.webkit.org/show_bug.cgi?id=148578

Reviewed by Jer Noble.

Source/WebCore:

No new tests, media/session/releasing-sessions.html was updated for the change.

* Modules/mediasession/MediaSession.cpp:
(WebCore::MediaSession::deactivate): Renamed from releaseSession.
(WebCore::MediaSession::releaseSession): Deleted.
* Modules/mediasession/MediaSession.h:
* Modules/mediasession/MediaSession.idl:

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::setSession): releaseSession -> deactivate.

LayoutTests:

* media/session/releasing-sessions-expected.txt:
* media/session/releasing-sessions.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189107 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/media/session/releasing-sessions-expected.txt
LayoutTests/media/session/releasing-sessions.html
Source/WebCore/ChangeLog
Source/WebCore/Modules/mediasession/MediaSession.cpp
Source/WebCore/Modules/mediasession/MediaSession.h
Source/WebCore/Modules/mediasession/MediaSession.idl
Source/WebCore/html/HTMLMediaElement.cpp