Index: Source/core/page/EventHandler.cpp |
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp |
index 3f5f94becd07b08af10eb3e6ae12384dd322cf68..acc91dc956b46acdccad57bd4d3126b140f14619 100644 |
--- a/Source/core/page/EventHandler.cpp |
+++ b/Source/core/page/EventHandler.cpp |
@@ -80,7 +80,6 @@ |
#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" |
@@ -959,17 +958,7 @@ bool EventHandler::scroll(ScrollDirection direction, ScrollGranularity granulari |
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; |