| Index: Source/core/editing/ApplyStyleCommand.cpp
|
| diff --git a/Source/core/editing/ApplyStyleCommand.cpp b/Source/core/editing/ApplyStyleCommand.cpp
|
| index ba5921b27ed347392278d6a89e1537a072cefd07..33a153a1779294e96330bbd8e3203ac3f085e78f 100644
|
| --- a/Source/core/editing/ApplyStyleCommand.cpp
|
| +++ b/Source/core/editing/ApplyStyleCommand.cpp
|
| @@ -1404,7 +1404,6 @@ void ApplyStyleCommand::addInlineStyleIfNeeded(EditingStyle* style, PassRefPtr<N
|
| Position ApplyStyleCommand::positionToComputeInlineStyleChange(PassRefPtr<Node> startNode, RefPtr<Node>& dummyElement)
|
| {
|
| // It's okay to obtain the style at the startNode because we've removed all relevant styles from the current run.
|
| - Position positionForStyleComparison;
|
| if (!startNode->isElementNode()) {
|
| dummyElement = createStyleSpanElement(document());
|
| insertNodeAt(dummyElement, positionBeforeNode(startNode.get()));
|
|
|