| Index: third_party/WebKit/Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp
|
| diff --git a/third_party/WebKit/Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp b/third_party/WebKit/Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp
|
| index 971b016a1741c53becaf0826674ed72edb41442b..931ce9903e743db2d7271404ff420fc7fac50cda 100644
|
| --- a/third_party/WebKit/Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp
|
| +++ b/third_party/WebKit/Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp
|
| @@ -68,7 +68,8 @@ void SetSinkIdResolver::timerFired(TimerBase* timer) {
|
| wrapUnique(new SetSinkIdCallbacks(this, *m_element, m_sinkId));
|
| WebMediaPlayer* webMediaPlayer = m_element->webMediaPlayer();
|
| if (webMediaPlayer) {
|
| - // Using release() to transfer ownership because |webMediaPlayer| is a platform object that takes raw pointers
|
| + // Using release() to transfer ownership because |webMediaPlayer| is a
|
| + // platform object that takes raw pointers.
|
| webMediaPlayer->setSinkId(m_sinkId,
|
| WebSecurityOrigin(context->getSecurityOrigin()),
|
| callbacks.release());
|
| @@ -78,7 +79,8 @@ void SetSinkIdResolver::timerFired(TimerBase* timer) {
|
| client->checkIfAudioSinkExistsAndIsAuthorized(context, m_sinkId,
|
| std::move(callbacks));
|
| } else {
|
| - // The context has been detached. Impossible to get a security origin to check.
|
| + // The context has been detached. Impossible to get a security origin to
|
| + // check.
|
| ASSERT(context->activeDOMObjectsAreStopped());
|
| reject(DOMException::create(
|
| SecurityError,
|
|
|