| Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| index 9cf088ea4a43868bb36da0181b2db08f23d4ea81..09320162f9f14a78fa413db514921c8b4172c7f8 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| @@ -442,7 +442,7 @@ void HTMLMediaElement::dispose()
|
|
|
| // If the MediaSource object survived, notify that the media element
|
| // didn't.
|
| - if (Heap::isHeapObjectAlive(m_mediaSource))
|
| + if (ThreadHeap::isHeapObjectAlive(m_mediaSource))
|
| closeMediaSource();
|
|
|
| // Oilpan: the player must be released, but the player object
|
| @@ -3753,7 +3753,7 @@ void HTMLMediaElement::rejectPlayPromises(ExceptionCode code, const String& mess
|
|
|
| void HTMLMediaElement::clearWeakMembers(Visitor* visitor)
|
| {
|
| - if (!Heap::isHeapObjectAlive(m_audioSourceNode))
|
| + if (!ThreadHeap::isHeapObjectAlive(m_audioSourceNode))
|
| getAudioSourceProvider().setClient(nullptr);
|
| }
|
|
|
|
|