| Index: Source/core/editing/commands/ApplyStyleCommand.cpp
|
| diff --git a/Source/core/editing/commands/ApplyStyleCommand.cpp b/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| index f6c95422597fa7e7f9fa033f89fd57e44d5985df..d7f3c83bd509a11e331f037573e03ccad3413f49 100644
|
| --- a/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| +++ b/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| @@ -250,8 +250,8 @@ void ApplyStyleCommand::applyBlockStyle(EditingStyle *style)
|
| end = swap;
|
| }
|
|
|
| - VisiblePosition visibleStart(start);
|
| - VisiblePosition visibleEnd(end);
|
| + VisiblePosition visibleStart = createVisiblePosition(start);
|
| + VisiblePosition visibleEnd = createVisiblePosition(end);
|
|
|
| if (visibleStart.isNull() || visibleStart.isOrphan() || visibleEnd.isNull() || visibleEnd.isOrphan())
|
| return;
|
|
|