| Index: third_party/WebKit/Source/modules/audio_output_devices/SetSinkIdCallbacks.cpp
|
| diff --git a/third_party/WebKit/Source/modules/audio_output_devices/SetSinkIdCallbacks.cpp b/third_party/WebKit/Source/modules/audio_output_devices/SetSinkIdCallbacks.cpp
|
| index 1c249243744ab919f4f6c880d0fd500c319fd0ab..07b3a8edc529a63f622a446c5466bdfdb121c398 100644
|
| --- a/third_party/WebKit/Source/modules/audio_output_devices/SetSinkIdCallbacks.cpp
|
| +++ b/third_party/WebKit/Source/modules/audio_output_devices/SetSinkIdCallbacks.cpp
|
| @@ -44,7 +44,7 @@ SetSinkIdCallbacks::~SetSinkIdCallbacks()
|
|
|
| void SetSinkIdCallbacks::onSuccess()
|
| {
|
| - if (!m_resolver->executionContext() || m_resolver->executionContext()->activeDOMObjectsAreStopped())
|
| + if (!m_resolver->getExecutionContext() || m_resolver->getExecutionContext()->activeDOMObjectsAreStopped())
|
| return;
|
|
|
| HTMLMediaElementAudioOutputDevice& aodElement = HTMLMediaElementAudioOutputDevice::from(*m_element);
|
| @@ -54,7 +54,7 @@ void SetSinkIdCallbacks::onSuccess()
|
|
|
| void SetSinkIdCallbacks::onError(WebSetSinkIdError error)
|
| {
|
| - if (!m_resolver->executionContext() || m_resolver->executionContext()->activeDOMObjectsAreStopped())
|
| + if (!m_resolver->getExecutionContext() || m_resolver->getExecutionContext()->activeDOMObjectsAreStopped())
|
| return;
|
|
|
| m_resolver->reject(ToException(error));
|
|
|