| Index: Source/core/rendering/line/BreakingContextInlineHeaders.h | 
| diff --git a/Source/core/rendering/line/BreakingContextInlineHeaders.h b/Source/core/rendering/line/BreakingContextInlineHeaders.h | 
| index 6dc45489246284b5478672c9933a0bd4b2b6b7dd..5a148ca4b6a418b208cb766c1f123ac426f0a6dc 100644 | 
| --- a/Source/core/rendering/line/BreakingContextInlineHeaders.h | 
| +++ b/Source/core/rendering/line/BreakingContextInlineHeaders.h | 
| @@ -899,12 +899,14 @@ inline void BreakingContext::commitAndUpdateLineBreakIfNeeded() | 
|  | 
| inline IndentTextOrNot requiresIndent(bool isFirstLine, bool isAfterHardLineBreak, RenderStyle* style) | 
| { | 
| -    if (isFirstLine) | 
| -        return IndentText; | 
| -    if (isAfterHardLineBreak && style->textIndentLine() == TextIndentEachLine) | 
| -        return IndentText; | 
| +    IndentTextOrNot shouldIndentText = DoNotIndentText; | 
| +    if (isFirstLine || (isAfterHardLineBreak && style->textIndentLine()) == TextIndentEachLine) | 
| +        shouldIndentText = IndentText; | 
|  | 
| -    return DoNotIndentText; | 
| +    if (style->textIndentType() == TextIndentHanging) | 
| +        shouldIndentText = shouldIndentText == IndentText ? DoNotIndentText : IndentText; | 
| + | 
| +    return shouldIndentText; | 
| } | 
|  | 
| } | 
|  |