Index: Source/core/rendering/RenderBox.h |
diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h |
index be4880c3ef11cbacf93ce68b61acdddac960c19c..365afde44f203d28c04afc1d37e95cf5afb3097b 100644 |
--- a/Source/core/rendering/RenderBox.h |
+++ b/Source/core/rendering/RenderBox.h |
@@ -524,24 +524,6 @@ public: |
void logicalExtentAfterUpdatingLogicalWidth(const LayoutUnit& logicalTop, LogicalExtentComputedValues&); |
- // Called when a positioned object moves but doesn't necessarily change size. A simplified layout is attempted |
- // that just updates the object's position. If the size does change, the object remains dirty. |
- bool tryLayoutDoingPositionedMovementOnly() |
- { |
- LayoutUnit oldWidth = logicalWidth(); |
- LogicalExtentComputedValues computedValues; |
- logicalExtentAfterUpdatingLogicalWidth(logicalTop(), computedValues); |
- // If we shrink to fit our width may have changed, so we still need full layout. |
- if (oldWidth != computedValues.m_extent) |
- return false; |
- setLogicalWidth(computedValues.m_extent); |
- setLogicalLeft(computedValues.m_position); |
- setMarginStart(computedValues.m_margins.m_start); |
- setMarginEnd(computedValues.m_margins.m_end); |
- updateLogicalHeight(); |
- return true; |
- } |
- |
virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override; |
void removeFloatingOrPositionedChildFromBlockLists(); |