| Index: Source/core/editing/ApplyStyleCommand.cpp
|
| diff --git a/Source/core/editing/ApplyStyleCommand.cpp b/Source/core/editing/ApplyStyleCommand.cpp
|
| index d7fd7c39be7a6519e70bf7536da3bde81b563e2e..43cc1ddea1e2dba61ed6d74fadb53a9ba138cbb5 100644
|
| --- a/Source/core/editing/ApplyStyleCommand.cpp
|
| +++ b/Source/core/editing/ApplyStyleCommand.cpp
|
| @@ -1067,8 +1067,8 @@ void ApplyStyleCommand::removeInlineStyle(EditingStyle* style, const Position &s
|
| {
|
| ASSERT(start.isNotNull());
|
| ASSERT(end.isNotNull());
|
| - ASSERT(start.anchorNode()->inDocument());
|
| - ASSERT(end.anchorNode()->inDocument());
|
| + ASSERT(start.inDocument());
|
| + ASSERT(end.inDocument());
|
| ASSERT(comparePositions(start, end) <= 0);
|
| // FIXME: We should assert that start/end are not in the middle of a text node.
|
|
|
|
|