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 f793a6f958543add45b3d8b5810b6d6c2297357d..d3e61cd97644ebe1699f86c580266681ddbeb988 100644 |
--- a/third_party/WebKit/Source/core/dom/IntersectionObserver.h |
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserver.h |
@@ -55,8 +55,9 @@ public: |
private: |
explicit IntersectionObserver(IntersectionObserverCallback&, Node&, const Vector<Length>& rootMargin, const Vector<float>& thresholds); |
- |
- void checkRootAndDetachIfNeeded(); |
+#if ENABLE(OILPAN) |
+ void clearWeakMembers(Visitor*); |
+#endif |
Member<IntersectionObserverCallback> m_callback; |
WeakPtrWillBeWeakMember<Node> m_root; |