Index: Source/core/editing/EditingStyle.cpp |
diff --git a/Source/core/editing/EditingStyle.cpp b/Source/core/editing/EditingStyle.cpp |
index b497d518a1f68f22a68399ba88ed3eefb09b0b45..59bb2379ce8aa5f62e051138da11f0a32931c3b3 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 : NodeTraversal::from(selection.start().deprecatedNode())) { |
+ for (Node& node : NodeTraversal::startsAt(selection.start().deprecatedNode())) { |
if (node.renderer() && node.hasEditableStyle()) { |
RefPtrWillBeRawPtr<CSSComputedStyleDeclaration> nodeStyle = CSSComputedStyleDeclaration::create(&node); |
if (nodeStyle) { |