Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(848)

Issue 2194393004: Move Range objects new owner after moving tree rather than during moving tree (Closed)

Created:
4 years, 4 months ago by yosin_UTC9
Modified:
4 years, 4 months ago
Reviewers:
tkent
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -4 lines) Patch
M third_party/WebKit/Source/core/dom/Document.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Node.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/RangeTest.cpp View 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (21 generated)
yosin_UTC9
PTAL
4 years, 4 months ago (2016-08-03 01:26:48 UTC) #19
tkent
The CL description is confusing. The CL moves the callsite of updateRangesAfterNodeMovedToAnotherDocument(), and renames it. ...
4 years, 4 months ago (2016-08-03 01:42:41 UTC) #20
yosin_UTC9
PTAL On 2016/08/03 at 01:42:41, tkent wrote: > The CL description is confusing. > > ...
4 years, 4 months ago (2016-08-03 02:16:31 UTC) #22
tkent
lgtm
4 years, 4 months ago (2016-08-03 02:24:54 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2194393004/40001
4 years, 4 months ago (2016-08-03 03:49:38 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-03 03:53:15 UTC) #26
commit-bot: I haz the power
4 years, 4 months ago (2016-08-03 03:55:59 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/cf85ced047617936b910470b6ee8cfc490892cc7
Cr-Commit-Position: refs/heads/master@{#409446}

Powered by Google App Engine
This is Rietveld 408576698