Index: Source/core/page/EventHandler.cpp |
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp |
index be08c9f4f0ac9f39141e8c3992768bd375942e05..c8c9f387b574d21d83c1926ff0189b8e484bd33c 100755 |
--- a/Source/core/page/EventHandler.cpp |
+++ b/Source/core/page/EventHandler.cpp |
@@ -78,9 +78,7 @@ |
#include "core/page/TouchAdjustment.h" |
#include "core/rendering/HitTestRequest.h" |
#include "core/rendering/HitTestResult.h" |
-#include "core/rendering/RenderFlowThread.h" |
#include "core/rendering/RenderLayer.h" |
-#include "core/rendering/RenderRegion.h" |
#include "core/rendering/RenderTextControlSingleLine.h" |
#include "core/rendering/RenderView.h" |
#include "core/rendering/RenderWidget.h" |
@@ -958,18 +956,7 @@ bool EventHandler::scroll(ScrollDirection direction, ScrollGranularity granulari |
setFrameWasScrolledByUser(); |
return true; |
} |
- |
- // FIXME: This should probably move to a virtual method on RenderBox, something like |
- // RenderBox::scrollAncestor, and specialized for RenderFlowThread |
curBox = curBox->containingBlock(); |
- if (curBox && curBox->isRenderNamedFlowThread()) { |
- RenderBox* flowedBox = curBox; |
- |
- if (RenderBox* startBox = node->renderBox()) |
- flowedBox = startBox; |
- |
- curBox = toRenderFlowThread(curBox)->regionFromAbsolutePointAndBox(absolutePoint, flowedBox); |
- } |
} |
return false; |