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

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

Issue 1615573002: Set rootBounds to null for cross-origin observations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Get rid of js-test.js monkey patching 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.h
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.h b/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.h
index 701af6766d71c16183109dc979e6bc5baeb7b2ad..b35d787fd8892c0d4e24b56145658a75260fba88 100644
--- a/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.h
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.h
@@ -17,7 +17,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(double timestamp, const IntRect& boundingClientRect, const IntRect* rootBounds, const IntRect& intersectionRect, Element*);
~IntersectionObserverEntry();
double time() const { return m_time; }

Powered by Google App Engine
This is Rietveld 408576698