commit | 090729aac055ae7eb04e6056ef27f6affc9ee893 | [log] [tgz] |
---|---|---|
author | ecobos <ecobos@igalia.com> | Tue Feb 28 01:20:18 2017 |
committer | Commit bot <commit-bot@chromium.org> | Tue Feb 28 01:20:18 2017 |
tree | b6037c836938b0197a02ed9d69e0914c4af35fda | |
parent | 25df673104a75dd667bc529e201ca55a09aaf954 [diff] |
Fix LayoutTreeBuilderTraversal limit checks when recursing. Before this commit, we were checking for limit == 0, which is wrong given we postdecrement (so when we actually run out of siblings we should keep limit equal to -1). BUG=657748 TEST=third_party/WebKit/Source/core/dom/LayoutTreeBuilderTraversalTest.cpp Review-Url: https://codereview.chromium.org/2715353002 Cr-Commit-Position: refs/heads/master@{#453435}