| Index: Source/core/frame/LocalFrame.cpp
|
| diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
|
| index 5b711fc47e11e041234ce5b1493ea2468f11f840..e095caa1102c865d686361d31d8f270f57609e69 100644
|
| --- a/Source/core/frame/LocalFrame.cpp
|
| +++ b/Source/core/frame/LocalFrame.cpp
|
| @@ -779,7 +779,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);
|
| }
|
|
|