| Index: Source/core/editing/SimplifyMarkupCommand.cpp
|
| diff --git a/Source/core/editing/SimplifyMarkupCommand.cpp b/Source/core/editing/SimplifyMarkupCommand.cpp
|
| index 8d13312d1e5bc7931bb81ca2cf1e921e31d1eff4..765f7bdd664f79b01e2e0d0643ac8b20ef7429af 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()->diff(startingStyle, context) == StyleDifferenceEqual)
|
| + if (currentNode->renderStyle()->visualInvalidationDiff(startingStyle, context) == StyleDifferenceEqual)
|
| topNodeWithStartingStyle = currentNode;
|
|
|
| }
|
|
|