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

Issue 69543007: Have NodeTraversal::nextSkippingChildren() take a reference (Closed)

Created:
7 years, 1 month ago by Inactive
Modified:
7 years, 1 month ago
Reviewers:
adamk
CC:
blink-reviews, krit, chromiumbugtracker_adobe.com, aboxhall, zoltan1, bemjb+rendering_chromium.org, eae+blinkwatch, leviw+renderwatch, dglazkov+blink, dmazzoni, apavlov+blink_chromium.org, adamk+blink_chromium.org, jchaffraix+rendering, darktears, pdr, f(malita), Stephen Chennney, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Have NodeTraversal::nextSkippingChildren() take a reference Have NodeTraversal::nextSkippingChildren() take a reference instead of a pointer as it expects the pointer to be non-null. This makes the code look safer and is consistent with NodeTraversal::next(). R=adamk Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161935

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase on master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -131 lines) Patch
M Source/core/accessibility/AXObject.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/StyleInvalidationAnalysis.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/ElementTraversal.h View 1 3 chunks +14 lines, -14 lines 0 comments Download
M Source/core/dom/NodeTraversal.h View 1 3 chunks +14 lines, -14 lines 0 comments Download
M Source/core/dom/NodeTraversal.cpp View 1 1 chunk +11 lines, -11 lines 0 comments Download
M Source/core/dom/Range.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/dom/SelectorQuery.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/TreeWalker.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/ApplyStyleCommand.cpp View 1 8 chunks +15 lines, -14 lines 0 comments Download
M Source/core/editing/CompositeEditCommand.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/DeleteSelectionCommand.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/editing/ReplaceSelectionCommand.cpp View 1 4 chunks +7 lines, -6 lines 0 comments Download
M Source/core/editing/TextIterator.cpp View 6 chunks +31 lines, -30 lines 0 comments Download
M Source/core/editing/VisibleUnits.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/htmlediting.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/markup.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/html/HTMLCollection.cpp View 1 3 chunks +8 lines, -7 lines 0 comments Download
M Source/core/html/HTMLDialogElement.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLElement.cpp View 5 chunks +7 lines, -7 lines 0 comments Download
M Source/core/html/HTMLFieldSetElement.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/HTMLObjectElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLOptionElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLSelectElement.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/page/FocusController.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/TouchDisambiguation.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderNamedFlowThread.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGElement.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGUseElement.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Inactive
7 years, 1 month ago (2013-11-12 20:45:31 UTC) #1
adamk
lgtm with a few cleanup nits https://codereview.chromium.org/69543007/diff/1/Source/core/editing/TextIterator.cpp File Source/core/editing/TextIterator.cpp (right): https://codereview.chromium.org/69543007/diff/1/Source/core/editing/TextIterator.cpp#newcode802 Source/core/editing/TextIterator.cpp:802: while ((next = ...
7 years, 1 month ago (2013-11-12 21:07:42 UTC) #2
Inactive
https://codereview.chromium.org/69543007/diff/1/Source/core/editing/TextIterator.cpp File Source/core/editing/TextIterator.cpp (right): https://codereview.chromium.org/69543007/diff/1/Source/core/editing/TextIterator.cpp#newcode802 Source/core/editing/TextIterator.cpp:802: while ((next = NodeTraversal::nextSkippingChildren(*next))) { On 2013/11/12 21:07:43, adamk ...
7 years, 1 month ago (2013-11-12 21:19:16 UTC) #3
adamk
https://codereview.chromium.org/69543007/diff/1/Source/core/editing/TextIterator.cpp File Source/core/editing/TextIterator.cpp (right): https://codereview.chromium.org/69543007/diff/1/Source/core/editing/TextIterator.cpp#newcode802 Source/core/editing/TextIterator.cpp:802: while ((next = NodeTraversal::nextSkippingChildren(*next))) { On 2013/11/12 21:19:16, Chris ...
7 years, 1 month ago (2013-11-12 22:21:35 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/69543007/1
7 years, 1 month ago (2013-11-12 22:24:52 UTC) #5
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=2762
7 years, 1 month ago (2013-11-13 03:59:10 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/69543007/1
7 years, 1 month ago (2013-11-13 04:15:33 UTC) #7
commit-bot: I haz the power
Failed to apply patch for Source/core/editing/ReplaceSelectionCommand.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 1 month ago (2013-11-13 04:15:43 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/69543007/190001
7 years, 1 month ago (2013-11-13 14:35:56 UTC) #9
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=12389
7 years, 1 month ago (2013-11-13 16:06:20 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/69543007/190001
7 years, 1 month ago (2013-11-13 16:07:40 UTC) #11
commit-bot: I haz the power
7 years, 1 month ago (2013-11-13 18:01:41 UTC) #12
Message was sent while issue was closed.
Change committed as 161935

Powered by Google App Engine
This is Rietveld 408576698