Index: Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp |
diff --git a/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp b/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp |
index 75b2999646e092109c931114f7a27add34ba4c50..b598873dac836f24880ac5b4825d236fb9a0d3a4 100644 |
--- a/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp |
+++ b/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp |
@@ -413,7 +413,7 @@ void DeprecatedPaintLayerScrollableArea::setScrollOffset(const DoublePoint& newS |
// The caret rect needs to be invalidated after scrolling |
frame->selection().setCaretRectNeedsUpdate(); |
- FloatQuad quadForFakeMouseMoveEvent = FloatQuad(layer()->layoutObject()->previousPaintInvalidationRect()); |
+ FloatQuad quadForFakeMouseMoveEvent = FloatQuad(layer()->layoutObject()->previousPaintInvalidationRectIncludingCompositedScrolling(*paintInvalidationContainer)); |
esprehn
2015/08/21 21:20:32
Is this the bug fix? Can we fix it in a separate p
|
quadForFakeMouseMoveEvent = paintInvalidationContainer->localToAbsoluteQuad(quadForFakeMouseMoveEvent); |
frame->eventHandler().dispatchFakeMouseMoveEventSoonInQuad(quadForFakeMouseMoveEvent); |
@@ -1116,7 +1116,7 @@ void DeprecatedPaintLayerScrollableArea::updateScrollCornerStyle() |
if (corner) { |
if (!m_scrollCorner) { |
m_scrollCorner = LayoutScrollbarPart::createAnonymous(&box().document()); |
- m_scrollCorner->setParent(&box()); |
+ LayoutObject::DangerousLayoutTreeMutator(*m_scrollCorner).setParent(&box()); |
} |
m_scrollCorner->setStyle(corner.release()); |
} else if (m_scrollCorner) { |
@@ -1244,7 +1244,7 @@ void DeprecatedPaintLayerScrollableArea::updateResizerStyle() |
if (resizer) { |
if (!m_resizer) { |
m_resizer = LayoutScrollbarPart::createAnonymous(&box().document()); |
- m_resizer->setParent(&box()); |
+ LayoutObject::DangerousLayoutTreeMutator(*m_resizer).setParent(&box()); |
} |
m_resizer->setStyle(resizer.release()); |
} else if (m_resizer) { |