Index: third_party/WebKit/Source/core/dom/IntersectionObserver.h |
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserver.h b/third_party/WebKit/Source/core/dom/IntersectionObserver.h |
index 12b82835d8efc1c557b4e9085d9290a859000383..6f592fce488f37b2488dff2faeb9297be4640b87 100644 |
--- a/third_party/WebKit/Source/core/dom/IntersectionObserver.h |
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserver.h |
@@ -30,7 +30,8 @@ public: |
// API methods |
void observe(Element*, ExceptionState&); |
- void unobserve(Element*, ExceptionState&); |
+ void unobserve(Element*); |
+ void disconnect(); |
HeapVector<Member<IntersectionObserverEntry>> takeRecords(); |
Element* root() const; |
String rootMargin() const; |
@@ -48,7 +49,6 @@ public: |
void applyRootMargin(LayoutRect&) const; |
unsigned firstThresholdGreaterThan(float ratio) const; |
void deliver(); |
- void disconnect(); |
void removeObservation(IntersectionObservation&); |
bool hasEntries() const { return m_entries.size(); } |
const HeapHashSet<WeakMember<IntersectionObservation>>& observations() const { return m_observations; } |