Index: third_party/WebKit/Source/core/dom/IntersectionObservation.cpp |
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp b/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp |
index 8a35d27e6dcdd306ff4eb6c895ac4dc6d1438b10..05ff9a4bb35e31cf06c7875c902685c043a87d0d 100644 |
--- a/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp |
+++ b/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp |
@@ -70,7 +70,7 @@ void IntersectionObservation::clipToRoot(LayoutRect& rect, const LayoutRect& roo |
LayoutObject* rootLayoutObject = m_observer->rootLayoutObject(); |
LayoutObject* targetLayoutObject = target()->layoutObject(); |
- targetLayoutObject->mapToVisibleRectInAncestorSpace(toLayoutBoxModelObject(rootLayoutObject), rect, nullptr); |
+ targetLayoutObject->mapToVisibleRectInAncestorSpace(toLayoutBoxModelObject(rootLayoutObject), rect); |
LayoutRect rootClipRect(rootRect); |
toLayoutBox(rootLayoutObject)->flipForWritingMode(rootClipRect); |
rect.intersect(rootClipRect); |