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

Issue 2317573003: Introduce ContainerNode::insertNodeVector() to share code in insertBefore(), appendChild(), and rep… (Closed)

Created:
4 years, 3 months ago by tkent
Modified:
4 years, 3 months ago
Reviewers:
hayato
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce ContainerNode::insertNodeVector() to share code in insertBefore(), appendChild(), and replaceChild(). This CL has no behavior changes. This CL is a preparation to fix crbug.com/523157. BUG=523157 Committed: https://crrev.com/a81fa6e7649b2534d7797cc6232eecbfdfe76e85 Cr-Commit-Position: refs/heads/master@{#416891}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Functor #

Patch Set 3 : Update a copied comment; "this" -> "container" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -85 lines) Patch
M third_party/WebKit/Source/core/dom/ContainerNode.h View 1 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/ContainerNode.cpp View 1 2 4 chunks +59 lines, -84 lines 0 comments Download

Messages

Total messages: 24 (16 generated)
tkent
hayato@, would you review this please? https://codereview.chromium.org/2317573003/diff/1/third_party/WebKit/Source/core/dom/ContainerNode.cpp File third_party/WebKit/Source/core/dom/ContainerNode.cpp (right): https://codereview.chromium.org/2317573003/diff/1/third_party/WebKit/Source/core/dom/ContainerNode.cpp#newcode153 third_party/WebKit/Source/core/dom/ContainerNode.cpp:153: void ContainerNode::insertNodeVector(const NodeVector& ...
4 years, 3 months ago (2016-09-07 04:39:23 UTC) #5
hayato
https://codereview.chromium.org/2317573003/diff/1/third_party/WebKit/Source/core/dom/ContainerNode.cpp File third_party/WebKit/Source/core/dom/ContainerNode.cpp (right): https://codereview.chromium.org/2317573003/diff/1/third_party/WebKit/Source/core/dom/ContainerNode.cpp#newcode153 third_party/WebKit/Source/core/dom/ContainerNode.cpp:153: void ContainerNode::insertNodeVector(const NodeVector& targets, Node* next, bool (ContainerNode::*mutator)(Node& child, ...
4 years, 3 months ago (2016-09-07 04:56:50 UTC) #6
tkent
CL for src perf tryjob to run blink_perf.dom benchmark on all platform(s)
4 years, 3 months ago (2016-09-07 05:12:11 UTC) #8
tkent
https://codereview.chromium.org/2317573003/diff/1/third_party/WebKit/Source/core/dom/ContainerNode.cpp File third_party/WebKit/Source/core/dom/ContainerNode.cpp (right): https://codereview.chromium.org/2317573003/diff/1/third_party/WebKit/Source/core/dom/ContainerNode.cpp#newcode153 third_party/WebKit/Source/core/dom/ContainerNode.cpp:153: void ContainerNode::insertNodeVector(const NodeVector& targets, Node* next, bool (ContainerNode::*mutator)(Node& child, ...
4 years, 3 months ago (2016-09-07 07:28:02 UTC) #12
hayato
LGTM. Thank you updating the CL.
4 years, 3 months ago (2016-09-07 07:53:24 UTC) #14
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/2317573003/60001
4 years, 3 months ago (2016-09-07 09:07:33 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 3 months ago (2016-09-07 09:39:48 UTC) #22
commit-bot: I haz the power
4 years, 3 months ago (2016-09-07 09:42:07 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a81fa6e7649b2534d7797cc6232eecbfdfe76e85
Cr-Commit-Position: refs/heads/master@{#416891}

Powered by Google App Engine
This is Rietveld 408576698