| Index: third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| index a6d7681154c611431395919258c129995256b25a..ef2dfd2b989322bc0c0d08b82a82ee3a459a2338 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| @@ -288,6 +288,7 @@ void ApplyStyleCommand::applyBlockStyle(EditingStyle *style, EditingState* editi
|
| nextParagraphStart = nextPositionOf(endOfParagraph(paragraphStart));
|
| }
|
|
|
| + ASSERT(!nextParagraphStart.isOrphan());
|
| paragraphStart = nextParagraphStart;
|
| nextParagraphStart = nextPositionOf(endOfParagraph(paragraphStart));
|
| }
|
|
|