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

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

Issue 1740923004: IntersectionObserver: make exceptions match spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Get rid of IntersectionObserver::hasRootMargin Created 4 years, 10 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/IntersectionObservation.h
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObservation.h b/third_party/WebKit/Source/core/dom/IntersectionObservation.h
index 5df531f4b85acc1b80e1adb222bdca06df8f8d1f..9a3413a6c98d35711a7a4779bf59e13bc6f578ea 100644
--- a/third_party/WebKit/Source/core/dom/IntersectionObservation.h
+++ b/third_party/WebKit/Source/core/dom/IntersectionObservation.h
@@ -38,10 +38,11 @@ public:
DECLARE_TRACE();
private:
- void initializeGeometry(IntersectionGeometry&);
- void clipToRoot(LayoutRect&);
- void clipToFrameView(IntersectionGeometry&);
- bool computeGeometry(IntersectionGeometry&);
+ void applyRootMargin(LayoutRect&) const;
+ void initializeGeometry(IntersectionGeometry&) const;
+ void clipToRoot(LayoutRect&) const;
+ void clipToFrameView(IntersectionGeometry&) const;
+ bool computeGeometry(IntersectionGeometry&) const;
Member<IntersectionObserver> m_observer;

Powered by Google App Engine
This is Rietveld 408576698