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

Unified Diff: Source/core/svg/SVGElementRareData.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/core/html/HTMLMediaElement.cpp ('k') | Source/modules/accessibility/AXObjectCacheImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGElementRareData.cpp
diff --git a/Source/core/svg/SVGElementRareData.cpp b/Source/core/svg/SVGElementRareData.cpp
index 5652eafa0c3fcae027618e25ab1fa99835b15bb8..e3119af19daa6a8df9a1b989df192e4cd4ec7be5 100644
--- a/Source/core/svg/SVGElementRareData.cpp
+++ b/Source/core/svg/SVGElementRareData.cpp
@@ -51,10 +51,10 @@ void SVGElementRareData::processWeakMembers(Visitor* visitor)
{
#if ENABLE(OILPAN)
ASSERT(m_owner);
- if (!visitor->isHeapObjectAlive(m_cursorElement))
+ if (!Heap::isHeapObjectAlive(m_cursorElement))
m_cursorElement = nullptr;
- if (!visitor->isHeapObjectAlive(m_cursorImageValue)) {
+ if (!Heap::isHeapObjectAlive(m_cursorImageValue)) {
// The owning SVGElement is still alive and if it is pointing to an SVGCursorElement
// we unregister it when the CSSCursorImageValue dies.
if (m_cursorElement) {
@@ -63,8 +63,8 @@ void SVGElementRareData::processWeakMembers(Visitor* visitor)
}
m_cursorImageValue = nullptr;
}
- ASSERT(!m_cursorElement || visitor->isHeapObjectAlive(m_cursorElement));
- ASSERT(!m_cursorImageValue || visitor->isHeapObjectAlive(m_cursorImageValue));
+ ASSERT(!m_cursorElement || Heap::isHeapObjectAlive(m_cursorElement));
+ ASSERT(!m_cursorImageValue || Heap::isHeapObjectAlive(m_cursorImageValue));
#endif
}
« no previous file with comments | « Source/core/html/HTMLMediaElement.cpp ('k') | Source/modules/accessibility/AXObjectCacheImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698