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

Unified Diff: third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/modules/plugins/PluginOcclusionSupport.cpp
diff --git a/third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp b/third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp
index 4ea42c889ea903810025bb6194747bb12247da97..adf3a3ef9a027ccabaa15dd76a2806985f2fc2fc 100644
--- a/third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp
+++ b/third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp
@@ -193,7 +193,7 @@ void getPluginOcclusions(Element* element, Widget* parentWidget, const IntRect&
// as being in the top layer.
const Element* ancestor = topLayerAncestor(element);
Document* document = parentFrameView->frame().document();
- const WillBeHeapVector<RefPtrWillBeMember<Element>>& elements = document->topLayerElements();
+ const HeapVector<Member<Element>>& elements = document->topLayerElements();
size_t start = ancestor ? elements.find(ancestor) + 1 : 0;
for (size_t i = start; i < elements.size(); ++i)
addTreeToOcclusions(elements[i]->layoutObject(), frameRect, occlusions);

Powered by Google App Engine
This is Rietveld 408576698