Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / rendering / RenderPart.cpp
index 56c0d31..abd183a 100644 (file)
@@ -113,15 +113,6 @@ bool RenderPart::nodeAtPoint(const HitTestRequest& request, HitTestResult& resul
 
         if (isInsideChildFrame)
             return true;
-
-        if (request.allowsFrameScrollbars()) {
-            // ScrollView scrollbars are not the same as RenderLayer scrollbars tested by RenderLayer::hitTestOverflowControls,
-            // so we need to test ScrollView scrollbars separately here.
-            // FIXME: Consider if this test could be done unconditionally.
-            Scrollbar* frameScrollbar = childFrameView->scrollbarAtPoint(newHitTestLocation.roundedPoint());
-            if (frameScrollbar)
-                result.setScrollbar(frameScrollbar);
-        }
     }
 
     return RenderWidget::nodeAtPoint(request, result, locationInContainer, accumulatedOffset, action);