Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Unified Diff: third_party/WebKit/Source/core/dom/IntersectionObserverEntry.cpp

Issue 1613543002: Use DOMHighResTimeStamp for notification time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Use DOMHighResTimeStamp in IntersectionObserverEntry Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 1511a2a4692f30115cb919e2926ffec36c2b95c1..d6138d3adba71022d1e05f020ed016b5612c4f39 100644
--- a/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.cpp
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.cpp
@@ -8,7 +8,7 @@
namespace blink {
-IntersectionObserverEntry::IntersectionObserverEntry(double time, const IntRect& boundingClientRect, const IntRect& rootBounds, const IntRect& intersectionRect, Element* target)
+IntersectionObserverEntry::IntersectionObserverEntry(DOMHighResTimeStamp time, const IntRect& boundingClientRect, const IntRect& rootBounds, const IntRect& intersectionRect, Element* target)
: m_time(time)
, m_boundingClientRect(ClientRect::create(boundingClientRect))
, m_rootBounds(ClientRect::create(rootBounds))

Powered by Google App Engine
This is Rietveld 408576698