| 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 67e29c95e205616ad139015f196de9e2d76be911..7079f421ff405f4ed16813f4793323e8af82727e 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -2644,6 +2644,18 @@ NodeIntersectionObserverData& Element::ensureIntersectionObserverData()
|
| return ensureElementRareData().ensureIntersectionObserverData();
|
| }
|
|
|
| +HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>* Element::resizeObserverData() const
|
| +{
|
| + if (hasRareData())
|
| + return elementRareData()->resizeObserverData();
|
| + return nullptr;
|
| +}
|
| +
|
| +HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>& Element::ensureResizeObserverData()
|
| +{
|
| + return ensureElementRareData().ensureResizeObserverData();
|
| +}
|
| +
|
| // Step 1 of http://domparsing.spec.whatwg.org/#insertadjacenthtml()
|
| static Element* contextElementForInsertion(const String& where, Element* element, ExceptionState& exceptionState)
|
| {
|
|
|