Index: third_party/WebKit/Source/core/dom/StyleEngine.cpp |
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
index 61626ccd83cb7d8204f622796cb8f3fe303e7548..c19ca69998809a5f109748fc23b99429542a7d63 100644 |
--- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
@@ -739,7 +739,7 @@ void StyleEngine::scheduleInvalidationsForRemovedSibling(Element* beforeElement, |
scheduleSiblingInvalidationsForElement(removedElement, *schedulingParent, 1); |
- for (unsigned i = 2; beforeElement && i <= affectedSiblings; i++, beforeElement = ElementTraversal::previousSibling(*beforeElement)) |
+ for (unsigned i = 1; beforeElement && i <= affectedSiblings; i++, beforeElement = ElementTraversal::previousSibling(*beforeElement)) |
scheduleSiblingInvalidationsForElement(*beforeElement, *schedulingParent, i); |
} |