Index: third_party/WebKit/Source/core/dom/Element.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp |
index 0b9901e0462d4bc16e50dac344155b883aa12076..652c7083354b8742e31f17c2ec36f0a5e908576a 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -54,7 +54,6 @@ |
#include "core/dom/ClientRectList.h" |
#include "core/dom/DatasetDOMStringMap.h" |
#include "core/dom/ElementDataCache.h" |
-#include "core/dom/ElementIntersectionObserverData.h" |
#include "core/dom/ElementRareData.h" |
#include "core/dom/ElementTraversal.h" |
#include "core/dom/ExceptionCode.h" |
@@ -65,6 +64,7 @@ |
#include "core/dom/MutationRecord.h" |
#include "core/dom/NamedNodeMap.h" |
#include "core/dom/NodeComputedStyle.h" |
+#include "core/dom/NodeIntersectionObserverData.h" |
#include "core/dom/PresentationAttributeStyle.h" |
#include "core/dom/PseudoElement.h" |
#include "core/dom/ScriptableDocumentParser.h" |
@@ -2596,14 +2596,14 @@ Node* Element::insertAdjacent(const String& where, Node* newChild, ExceptionStat |
return nullptr; |
} |
-ElementIntersectionObserverData* Element::intersectionObserverData() const |
+NodeIntersectionObserverData* Element::intersectionObserverData() const |
{ |
if (elementRareData()) |
return elementRareData()->intersectionObserverData(); |
return nullptr; |
} |
-ElementIntersectionObserverData& Element::ensureIntersectionObserverData() |
+NodeIntersectionObserverData& Element::ensureIntersectionObserverData() |
{ |
return ensureElementRareData().ensureIntersectionObserverData(); |
} |