Chromium Code Reviews| 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); |
|
xjz
2016/12/07 01:01:14
ooc, I did this bool to enum change as suggested b
szager1
2016/12/07 01:30:49
I should talk to Ojan about that. My reasons:
-
xjz
2016/12/07 01:53:56
I agree with you that using bool makes codes simpl
szager1
2016/12/07 02:03:49
I would argue that "it's obvious what the bool is.
|
| IntersectionObserver& observer() const { return *m_observer; } |
| Element* target() const { return m_target; } |