Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp

Issue 1477023003: Refactor the Heap into ThreadHeap to prepare for per thread heaps Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp ('k') | third_party/WebKit/Source/core/svg/SVGElementRareData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698