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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.cpp

Issue 1397073002: [Oilpan] Create UnsafePtr to store on-heap pointers in Vector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Work for nits Created 5 years, 2 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: 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..41409ffe31be6f73a6ddbd9a404ed374b3e7ffe1 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<UntracedMember<HTMLPlugInElement>> deadPlugins;
for (const auto& pluginElement : m_pluginElements) {
if (!Heap::isHeapObjectAlive(pluginElement)) {
pluginElement->shouldDisposePlugin();
« no previous file with comments | « third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp ('k') | third_party/WebKit/Source/platform/heap/Handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698