Index: third_party/WebKit/Source/core/dom/IntersectionObserverEntry.h |
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.h b/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.h |
index b35d787fd8892c0d4e24b56145658a75260fba88..3b05aa1ebe1b1b5b4bcbc5a2f48c4fb0a2eece1e 100644 |
--- a/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.h |
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.h |
@@ -7,6 +7,7 @@ |
#include "bindings/core/v8/ScriptWrappable.h" |
#include "core/dom/ClientRect.h" |
+#include "core/dom/DOMHighResTimeStamp.h" |
#include "platform/geometry/IntRect.h" |
#include "platform/heap/Handle.h" |
@@ -17,7 +18,7 @@ class Element; |
class IntersectionObserverEntry final : public GarbageCollectedFinalized<IntersectionObserverEntry>, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- IntersectionObserverEntry(double timestamp, const IntRect& boundingClientRect, const IntRect* rootBounds, const IntRect& intersectionRect, Element*); |
+ IntersectionObserverEntry(DOMHighResTimeStamp timestamp, const IntRect& boundingClientRect, const IntRect* rootBounds, const IntRect& intersectionRect, Element*); |
~IntersectionObserverEntry(); |
double time() const { return m_time; } |
@@ -29,7 +30,7 @@ public: |
DECLARE_VIRTUAL_TRACE(); |
private: |
- double m_time; |
+ DOMHighResTimeStamp m_time; |
Member<ClientRect> m_boundingClientRect; |
Member<ClientRect> m_rootBounds; |
Member<ClientRect> m_intersectionRect; |