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

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

Issue 2553103004: Refactor IntersectionGeometry class and move it to core/layout. (Closed)
Patch Set: Simplify isContainingBlockChainDescendant Created 4 years 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 3b1ec65da33da454e75a5858c1bf3a811c71fa69..68fe73374e38b840a43947da08972b6c132a8c69 100644
--- a/third_party/WebKit/Source/core/dom/IntersectionObservation.h
+++ b/third_party/WebKit/Source/core/dom/IntersectionObservation.h
@@ -6,7 +6,6 @@
#define IntersectionObservation_h
#include "core/dom/DOMHighResTimeStamp.h"
-#include "core/dom/IntersectionGeometry.h"
#include "platform/heap/Handle.h"
namespace blink {
@@ -17,10 +16,9 @@ class IntersectionObserver;
class IntersectionObservation final
: public GarbageCollected<IntersectionObservation> {
public:
- IntersectionObservation(
- IntersectionObserver&,
- Element&,
- IntersectionGeometry::ReportRootBounds shouldReportRootBounds);
+ IntersectionObservation(IntersectionObserver&,
+ Element&,
+ bool shouldReportRootBounds);
IntersectionObserver& observer() const { return *m_observer; }
Element* target() const { return m_target; }

Powered by Google App Engine
This is Rietveld 408576698