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

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

Issue 1870963002: Clean up CompositorPendingAnimations inclusion. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/IntersectionObserver.h
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserver.h b/third_party/WebKit/Source/core/dom/IntersectionObserver.h
index de9fc6d19f8a70d1b84a5f14d361a6fb26041ca9..850cc569928fa386e9c9a25cb2e37d421787dd02 100644
--- a/third_party/WebKit/Source/core/dom/IntersectionObserver.h
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserver.h
@@ -6,21 +6,21 @@
#define IntersectionObserver_h
#include "bindings/core/v8/ScriptWrappable.h"
-#include "core/dom/Element.h"
#include "core/dom/IntersectionObservation.h"
#include "core/dom/IntersectionObserverEntry.h"
+#include "platform/Length.h"
#include "platform/heap/Handle.h"
#include "wtf/HashSet.h"
-#include "wtf/RefCounted.h"
#include "wtf/Vector.h"
namespace blink {
+class Element;
class ExceptionState;
+class LayoutObject;
class IntersectionObserverCallback;
class IntersectionObserverInit;
-// TODO(oilpan): Switch to GarbageCollected<> after oilpan ships
class IntersectionObserver final : public GarbageCollectedFinalized<IntersectionObserver>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
@@ -55,9 +55,7 @@ public:
private:
explicit IntersectionObserver(IntersectionObserverCallback&, Node&, const Vector<Length>& rootMargin, const Vector<float>& thresholds);
-#if ENABLE(OILPAN)
void clearWeakMembers(Visitor*);
-#endif
Member<IntersectionObserverCallback> m_callback;
WeakMember<Node> m_root;

Powered by Google App Engine
This is Rietveld 408576698