| 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 d5724ec3702ed47b36ab6b25ee35227340ca34b7..52499c50090eb88279c45865c908f6d149a4c735 100644
|
| --- a/third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp
|
| +++ b/third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.cpp
|
| @@ -153,7 +153,7 @@ static const Element* topLayerAncestor(const Element* element) {
|
| // page. In a nutshell, iframe elements should occlude plugins when
|
| // they occur higher in the stacking order.
|
| void getPluginOcclusions(Element* element,
|
| - FrameViewBase* parentFrameViewBase,
|
| + FrameViewBase* parent,
|
| const IntRect& frameRect,
|
| Vector<IntRect>& occlusions) {
|
| LayoutObject* pluginNode = element->layoutObject();
|
| @@ -164,14 +164,14 @@ void getPluginOcclusions(Element* element,
|
| Vector<const LayoutObject*> iframeZstack;
|
| getObjectStack(pluginNode, &pluginZstack);
|
|
|
| - if (!parentFrameViewBase->isFrameView())
|
| + if (!parent->isFrameView())
|
| return;
|
|
|
| - FrameView* parentFrameView = toFrameView(parentFrameViewBase);
|
| + FrameView* parentFrameView = toFrameView(parent);
|
|
|
| // Occlusions by iframes.
|
| - const FrameView::ChildrenWidgetSet* children = parentFrameView->children();
|
| - for (FrameView::ChildrenWidgetSet::const_iterator it = children->begin();
|
| + const FrameView::ChildrenSet* children = parentFrameView->children();
|
| + for (FrameView::ChildrenSet::const_iterator it = children->begin();
|
| it != children->end(); ++it) {
|
| // We only care about FrameView's because iframes show up as FrameViews.
|
| if (!(*it)->isFrameView())
|
|
|