| 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 2abbbf928cd20e894cac3393db4ee54b74a729ba..0667ca6c8cac1e265b30e29ec07aba64b6fe725c 100644
|
| --- a/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp
|
| @@ -41,7 +41,7 @@ void IntersectionObservation::initializeTargetRect(LayoutRect& rect) const
|
| DCHECK(m_target);
|
| LayoutObject* targetLayoutObject = target()->layoutObject();
|
| DCHECK(targetLayoutObject && targetLayoutObject->isBoxModelObject());
|
| - rect = toLayoutBoxModelObject(targetLayoutObject)->visualOverflowRect();
|
| + rect = LayoutRect(toLayoutBoxModelObject(targetLayoutObject)->borderBoundingBox());
|
| }
|
|
|
| void IntersectionObservation::initializeRootRect(LayoutRect& rect) const
|
|
|