| Index: Source/core/editing/EditingStyle.cpp
|
| diff --git a/Source/core/editing/EditingStyle.cpp b/Source/core/editing/EditingStyle.cpp
|
| index 358819603f07d364642bd2b3b67c6ba9b47add9a..efc991df3e095eda2783e1b0d12c75ab728041f3 100644
|
| --- a/Source/core/editing/EditingStyle.cpp
|
| +++ b/Source/core/editing/EditingStyle.cpp
|
| @@ -712,7 +712,7 @@ TriState EditingStyle::triStateOfStyle(const VisibleSelection& selection) const
|
|
|
| TriState state = FalseTriState;
|
| bool nodeIsStart = true;
|
| - for (Node* node = selection.start().deprecatedNode(); node; node = NodeTraversal::next(node)) {
|
| + for (Node* node = selection.start().deprecatedNode(); node; node = NodeTraversal::next(*node)) {
|
| if (node->renderer() && node->rendererIsEditable()) {
|
| RefPtr<CSSComputedStyleDeclaration> nodeStyle = CSSComputedStyleDeclaration::create(node);
|
| if (nodeStyle) {
|
| @@ -1300,7 +1300,7 @@ WritingDirection EditingStyle::textDirectionForSelection(const VisibleSelection&
|
|
|
| ASSERT(end.document());
|
| Node* pastLast = Range::create(*end.document(), position.parentAnchoredEquivalent(), end.parentAnchoredEquivalent())->pastLastNode();
|
| - for (Node* n = node; n && n != pastLast; n = NodeTraversal::next(n)) {
|
| + for (Node* n = node; n && n != pastLast; n = NodeTraversal::next(*n)) {
|
| if (!n->isStyledElement())
|
| continue;
|
|
|
|
|