Index: Source/core/rendering/RenderLayerScrollableArea.cpp |
diff --git a/Source/core/rendering/RenderLayerScrollableArea.cpp b/Source/core/rendering/RenderLayerScrollableArea.cpp |
index 4189864f02f153e1a78d1824c7d0e8c0a4c325ce..14750df47527da59f38329d2c1956905051c68d6 100644 |
--- a/Source/core/rendering/RenderLayerScrollableArea.cpp |
+++ b/Source/core/rendering/RenderLayerScrollableArea.cpp |
@@ -382,8 +382,7 @@ void RenderLayerScrollableArea::setScrollOffset(const IntPoint& newScrollOffset) |
else |
quadForFakeMouseMoveEvent = FloatQuad(layer()->repainter().repaintRect()); |
- if (repaintContainer) |
- quadForFakeMouseMoveEvent = repaintContainer->localToAbsoluteQuad(quadForFakeMouseMoveEvent); |
+ quadForFakeMouseMoveEvent = repaintContainer->localToAbsoluteQuad(quadForFakeMouseMoveEvent); |
frame->eventHandler().dispatchFakeMouseMoveEventSoonInQuad(quadForFakeMouseMoveEvent); |
bool requiresRepaint = true; |