Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
index 2f7d9e9e1065d14c5d1857d4b7761377607469c0..bfa8daeabf98e24ca0b10994f63097df39737ca2 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
@@ -1543,18 +1543,6 @@ |
if (!screenRect.isEmpty() && isVisible) |
screenArea = static_cast<uint32_t>(screenRect.width() * screenRect.height()); |
return ResourcePriority(isVisible ? ResourcePriority::Visible : ResourcePriority::NotVisible, screenArea); |
-} |
- |
-void LayoutBox::frameRectChanged() |
-{ |
- if (node() && node()->isElementNode()) { |
- Element& element = toElement(*node()); |
- element.setNeedsResizeObserverUpdate(); |
- } |
- // The frame rect may change because of layout of other objects. |
- // Should check this object for paint invalidation. |
- if (!needsLayout()) |
- setMayNeedPaintInvalidation(); |
} |
bool LayoutBox::intersectsVisibleViewport() const |