Chromium Code Reviews
DescriptionMove Range objects new owner after moving tree rather than during moving tree
This patch changes moving |Range| objects to new document after moving all nodes
in tree rather than moving nodes to process |Range| in stable state, e.g.
both boundary points moved into new document by moving call of
|updateRangesAfterNodeMovedToAnotherDocument()| at end of moving tree and
renames it to |didMoveTreeToNewDocument()| to denote when it called.
BUG=633340
TEST=run_webkit_unit_tests --gtest_filter=RangeTest.updateOwnerDocumentIfNeeded
Committed: https://crrev.com/cf85ced047617936b910470b6ee8cfc490892cc7
Cr-Commit-Position: refs/heads/master@{#409446}
Patch Set 1 : 2016-08-02T13:05:36 #Patch Set 2 : 2016-08-02T16:16:42 #Patch Set 3 : 2016-08-02T18:35:29 #
Messages
Total messages: 28 (21 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||