Index: Source/core/rendering/RenderInline.cpp |
diff --git a/Source/core/rendering/RenderInline.cpp b/Source/core/rendering/RenderInline.cpp |
index 280a5a89f94ad814b2969eb38bd2fffb49cd4184..90a4c32e72260d9ed6200064085d939d149ce855 100644 |
--- a/Source/core/rendering/RenderInline.cpp |
+++ b/Source/core/rendering/RenderInline.cpp |
@@ -210,14 +210,12 @@ void RenderInline::updateAlwaysCreateLineBoxes(bool fullLayout) |
RenderStyle* parentStyle = parent()->style(); |
RenderInline* parentRenderInline = parent()->isRenderInline() ? toRenderInline(parent()) : 0; |
bool checkFonts = document().inNoQuirksMode(); |
- RenderFlowThread* flowThread = flowThreadContainingBlock(); |
bool alwaysCreateLineBoxes = (parentRenderInline && parentRenderInline->alwaysCreateLineBoxes()) |
|| (parentRenderInline && parentStyle->verticalAlign() != BASELINE) |
|| style()->verticalAlign() != BASELINE |
|| style()->textEmphasisMark() != TextEmphasisMarkNone |
|| (checkFonts && (!parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(style()->font().fontMetrics()) |
- || parentStyle->lineHeight() != style()->lineHeight())) |
- || (flowThread && flowThread->hasRegionsWithStyling()); |
+ || parentStyle->lineHeight() != style()->lineHeight())); |
if (!alwaysCreateLineBoxes && checkFonts && document().styleEngine()->usesFirstLineRules()) { |
// Have to check the first line style as well. |