| 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);
|
|
|