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 e6d6a34fdae7582492f59a39f81b934a0eebf9c9..66d497b9e899b3ef298489a85204ee7e08dec7f3 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -117,7 +117,6 @@ |
#include "core/layout/api/LayoutBoxItem.h" |
#include "core/layout/api/LayoutViewItem.h" |
#include "core/loader/DocumentLoader.h" |
-#include "core/observer/ResizeObservation.h" |
#include "core/page/ChromeClient.h" |
#include "core/page/FocusController.h" |
#include "core/page/Page.h" |
@@ -1639,8 +1638,6 @@ |
if (svgFilterNeedsLayerUpdate()) |
document().unscheduleSVGFilterLayerUpdateHack(*this); |
- setNeedsResizeObserverUpdate(); |
- |
DCHECK(needsAttach()); |
} |
@@ -2694,14 +2691,6 @@ |
HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>& Element::ensureResizeObserverData() |
{ |
return ensureElementRareData().ensureResizeObserverData(); |
-} |
- |
-void Element::setNeedsResizeObserverUpdate() |
-{ |
- if (auto* data = resizeObserverData()) { |
- for (auto& observation : data->values()) |
- observation->elementSizeChanged(); |
- } |
} |
// Step 1 of http://domparsing.spec.whatwg.org/#insertadjacenthtml() |