| 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 27d057c84bcec276de4309c6b02fde7fa4e94a55..221be206919388a4db2a51cb5614287a99d42ad9 100644
|
| --- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| @@ -736,7 +736,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);
|
| }
|
|
|
|
|