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

Unified Diff: Source/modules/mediasource/MediaSource.cpp

Issue 1166623002: Oilpan: Remove a visitor parameter from isHeapObjectAlive (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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
« no previous file with comments | « Source/modules/accessibility/AXObjectCacheImpl.cpp ('k') | Source/modules/mediastream/RTCDataChannel.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediasource/MediaSource.cpp
diff --git a/Source/modules/mediasource/MediaSource.cpp b/Source/modules/mediasource/MediaSource.cpp
index 3cd3288b0b4b006f29a1aebe7bda79158ddfee71..65f966f47c065588e0fff33c30fa4c5a54ea70ff 100644
--- a/Source/modules/mediasource/MediaSource.cpp
+++ b/Source/modules/mediasource/MediaSource.cpp
@@ -269,7 +269,7 @@ void MediaSource::clearWeakMembers(Visitor* visitor)
// Oilpan: If the MediaSource survived, but its attached media
// element did not, signal the element that it can safely
// notify its MediaSource during finalization by calling close().
- if (m_attachedElement && !visitor->isHeapObjectAlive(m_attachedElement)) {
+ if (m_attachedElement && !Heap::isHeapObjectAlive(m_attachedElement)) {
m_attachedElement->setCloseMediaSourceWhenFinalizing();
m_attachedElement.clear();
}
« no previous file with comments | « Source/modules/accessibility/AXObjectCacheImpl.cpp ('k') | Source/modules/mediastream/RTCDataChannel.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698