| Index: Source/core/editing/SimplifyMarkupCommand.cpp
|
| diff --git a/Source/core/editing/SimplifyMarkupCommand.cpp b/Source/core/editing/SimplifyMarkupCommand.cpp
|
| index 089d3290abae059444540f4e5fb990d154c0f344..df29f542231f4cb7ea54c2a617cd17905d96c985 100644
|
| --- a/Source/core/editing/SimplifyMarkupCommand.cpp
|
| +++ b/Source/core/editing/SimplifyMarkupCommand.cpp
|
| @@ -77,7 +77,7 @@ void SimplifyMarkupCommand::doApply()
|
| }
|
|
|
| unsigned context;
|
| - if (currentNode->renderStyle()->visualInvalidationDiff(*startingStyle, context).hasNoChange() && !context)
|
| + if (!currentNode->renderStyle()->visualInvalidationDiff(*startingStyle, context).hasDifference() && !context)
|
| topNodeWithStartingStyle = currentNode;
|
|
|
| }
|
|
|