Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp |
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
index c0b3b8d0f8d02582cc351d9b9eb321b87db82949..92dcda7402b93ffe3b01f8dbd2a010e38638b428 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
@@ -821,7 +821,7 @@ void LocalFrame::unregisterPluginElement(HTMLPlugInElement* plugin) |
void LocalFrame::clearWeakMembers(Visitor* visitor) |
{ |
- Vector<HTMLPlugInElement*> deadPlugins; |
+ Vector<UnsafePtr<HTMLPlugInElement>> deadPlugins; |
for (const auto& pluginElement : m_pluginElements) { |
if (!Heap::isHeapObjectAlive(pluginElement)) { |
pluginElement->shouldDisposePlugin(); |