Index: Source/core/rendering/RenderBlock.cpp |
diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp |
index f4458ec08119a511a26487d532eabce3de231adb..8317a0ff4e6498ef56618dbe81a48bc5c259c88b 100644 |
--- a/Source/core/rendering/RenderBlock.cpp |
+++ b/Source/core/rendering/RenderBlock.cpp |
@@ -3660,7 +3660,7 @@ void RenderBlock::computeBlockPreferredLogicalWidths(LayoutUnit& minLogicalWidth |
continue; |
} |
- RenderStyle* childStyle = child->style(); |
+ RefPtr<RenderStyle> childStyle = child->style(); |
if (child->isFloating() || (child->isBox() && toRenderBox(child)->avoidsFloats())) { |
LayoutUnit floatTotalWidth = floatLeftWidth + floatRightWidth; |
if (childStyle->clear() & CLEFT) { |