Index: third_party/WebKit/Source/core/dom/IntersectionObserverEntry.cpp |
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.cpp b/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.cpp |
index 63588680ace2be270e24a6a25775bf4aa66d1d0f..758564db910585e55c0c1c18fa95a6f6def9e4c5 100644 |
--- a/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.cpp |
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.cpp |
@@ -8,8 +8,9 @@ |
namespace blink { |
-IntersectionObserverEntry::IntersectionObserverEntry(DOMHighResTimeStamp time, const IntRect& boundingClientRect, const IntRect* rootBounds, const IntRect& intersectionRect, Element* target) |
+IntersectionObserverEntry::IntersectionObserverEntry(DOMHighResTimeStamp time, double intersectionRatio, const IntRect& boundingClientRect, const IntRect* rootBounds, const IntRect& intersectionRect, Element* target) |
: m_time(time) |
+ , m_intersectionRatio(intersectionRatio) |
, m_boundingClientRect(ClientRect::create(boundingClientRect)) |
, m_rootBounds(rootBounds ? ClientRect::create(*rootBounds) : nullptr) |
, m_intersectionRect(ClientRect::create(intersectionRect)) |