Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / plugins / PluginOcclusionSupport.cpp
index 6f47f80..e308738 100644 (file)
@@ -164,13 +164,13 @@ void getPluginOcclusions(Element* element, Widget* parentWidget, const IntRect&
     FrameView* parentFrameView = toFrameView(parentWidget);
 
     // Occlusions by iframes.
-    const HashSet<RefPtr<Widget> >* children = parentFrameView->children();
-    for (HashSet<RefPtr<Widget> >::const_iterator it = children->begin(); it != children->end(); ++it) {
+    const FrameView::ChildrenWidgetSet* children = parentFrameView->children();
+    for (FrameView::ChildrenWidgetSet::const_iterator it = children->begin(); it != children->end(); ++it) {
         // We only care about FrameView's because iframes show up as FrameViews.
         if (!(*it)->isFrameView())
             continue;
 
-        const FrameView* frameView = toFrameView((*it).get());
+        const FrameView* frameView = toFrameView(it->get());
         // Check to make sure we can get both the element and the RenderObject
         // for this FrameView, if we can't just move on to the next object.
         // FIXME: Plugin occlusion by remote frames is probably broken.