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

Unified Diff: Source/core/frame/LocalFrame.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
Index: Source/core/frame/LocalFrame.cpp
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
index f5a0e0366599c39e4b4a3ddcb51b16f1987cdc8a..b2df2625d8606b623f6209f66c91edcbbdb0cfcc 100644
--- a/Source/core/frame/LocalFrame.cpp
+++ b/Source/core/frame/LocalFrame.cpp
@@ -780,7 +780,7 @@ void LocalFrame::clearWeakMembers(Visitor* visitor)
{
Vector<HTMLPlugInElement*> deadPlugins;
for (const auto& pluginElement : m_pluginElements) {
- if (!visitor->isHeapObjectAlive(pluginElement)) {
+ if (!Heap::isHeapObjectAlive(pluginElement)) {
pluginElement->shouldDisposePlugin();
deadPlugins.append(pluginElement);
}

Powered by Google App Engine
This is Rietveld 408576698