Index: Source/core/rendering/RenderBox.h |
diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h |
index 112c7b1adb4d5c6a11eb98baea69757766dd36dd..ade905251046dfcff61a2bd86089281115ffa116 100644 |
--- a/Source/core/rendering/RenderBox.h |
+++ b/Source/core/rendering/RenderBox.h |
@@ -23,6 +23,7 @@ |
#ifndef RenderBox_h |
#define RenderBox_h |
+#include "core/rendering/LayoutRectRecorder.h" |
#include "core/rendering/RenderBoxModelObject.h" |
#include "core/rendering/RenderOverflow.h" |
#include "core/rendering/shapes/ShapeOutsideInfo.h" |
@@ -517,6 +518,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. |