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

Issue 2343513002: Various cleanup of ContainerNode.cpp (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

Various cleanup of ContainerNode.cpp * Mark collectChildrenAndRemoveFromOldParent |inline| There is only one callsite. * collectChildrenAndRemoveFromOldParentWithCheck() returns bool It makes callsites simpler. * We don't need to return |nullptr| in a case of hadException(). Callsites should check hadException() before referring the return value. * Remove useless local variables. * Use functors in parseInsertBefore() and parserAppendChild(). This CL has no behavior changes. Committed: https://crrev.com/6325fbd1e42548d6071cf29f21642820e1ecba00 Cr-Commit-Position: refs/heads/master@{#418757}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -67 lines) Patch
M third_party/WebKit/Source/core/dom/ContainerNode.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/ContainerNode.cpp View 11 chunks +37 lines, -66 lines 0 comments Download

Messages

Total messages: 21 (16 generated)
tkent
hayato@, would you review this please?
4 years, 3 months ago (2016-09-14 03:58:00 UTC) #15
hayato
lgtm
4 years, 3 months ago (2016-09-15 01:53:31 UTC) #16
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/2343513002/40001
4 years, 3 months ago (2016-09-15 01:57:29 UTC) #18
commit-bot: I haz the power
Committed patchset #1 (id:40001)
4 years, 3 months ago (2016-09-15 02:09:10 UTC) #19
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 02:12:44 UTC) #21
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/6325fbd1e42548d6071cf29f21642820e1ecba00
Cr-Commit-Position: refs/heads/master@{#418757}

Powered by Google App Engine
This is Rietveld 408576698