|
|
DescriptionVarious 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 #
Messages
Total messages: 21 (16 generated)
The CQ bit was checked by tkent@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Various cleanup of ContainerNode.cpp BUG= ========== to ========== Various cleanup of ContainerNode.cpp * Mark collectChildrenAndRemoveFromOldParent |inline| There are 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. BUG= ==========
Description was changed from ========== Various cleanup of ContainerNode.cpp * Mark collectChildrenAndRemoveFromOldParent |inline| There are 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. BUG= ========== to ========== Various cleanup of ContainerNode.cpp * Mark collectChildrenAndRemoveFromOldParent |inline| There are 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. ==========
Description was changed from ========== Various cleanup of ContainerNode.cpp * Mark collectChildrenAndRemoveFromOldParent |inline| There are 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. ========== to ========== 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. ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by tkent@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #1 (id:1) has been deleted
Patchset #1 (id:20001) has been deleted
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
tkent@chromium.org changed reviewers: + hayato@chromium.org
hayato@, would you review this please?
lgtm
The CQ bit was checked by tkent@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #1 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== 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. ========== to ========== 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} ==========
Message was sent while issue was closed.
Patchset 1 (id:??) landed as https://crrev.com/6325fbd1e42548d6071cf29f21642820e1ecba00 Cr-Commit-Position: refs/heads/master@{#418757} |