Index: Source/core/rendering/RenderBox.h |
diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h |
index 1cdeb626d5eb9fb220a57e92f47687dd080a7ac7..d546a06a66bc5e72f18b50919096123a69aa30e0 100644 |
--- a/Source/core/rendering/RenderBox.h |
+++ b/Source/core/rendering/RenderBox.h |
@@ -24,6 +24,7 @@ |
#define RenderBox_h |
#include "core/animation/ActiveAnimations.h" |
+#include "core/rendering/LayoutRectRecorder.h" |
#include "core/rendering/RenderBoxModelObject.h" |
#include "core/rendering/RenderOverflow.h" |
#include "core/rendering/shapes/ShapeOutsideInfo.h" |
@@ -519,6 +520,7 @@ public: |
// that just updates the object's position. If the size does change, the object remains dirty. |
bool tryLayoutDoingPositionedMovementOnly() |
{ |
+ LayoutRectRecorder recorder(*this); |
LayoutUnit oldWidth = width(); |
updateLogicalWidth(); |
// If we shrink to fit our width may have changed, so we still need full layout. |