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

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

Issue 2738783003: Rename ChildrenWidgetSet to ChildrenSet (Closed)
Patch Set: Created 3 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
« no previous file with comments | « third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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())
« no previous file with comments | « third_party/WebKit/Source/modules/plugins/PluginOcclusionSupport.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698