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

Issue 172313003: Make ElementTraversal / NodeTraversal classes for clarity (Closed)

Created:
6 years, 10 months ago by Inactive
Modified:
6 years, 10 months ago
Reviewers:
adamk, eseidel
CC:
blink-reviews, dglazkov+blink, sof, eae+blinkwatch, adamk+blink_chromium.org, Inactive
Visibility:
Public.

Description

Make ElementTraversal / NodeTraversal classes for clarity Make ElementTraversal / NodeTraversal classes for clarity and better encapsulation. We can now make the templated functions private to make sure they are not used outside the ElementTraversal / NodeTraversal classes. R=adamk, eseidel Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167473

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove inline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -121 lines) Patch
M Source/core/dom/ElementTraversal.h View 1 9 chunks +60 lines, -58 lines 0 comments Download
M Source/core/dom/NodeTraversal.h View 1 5 chunks +53 lines, -51 lines 0 comments Download
M Source/core/dom/NodeTraversal.cpp View 10 chunks +10 lines, -12 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Inactive
6 years, 10 months ago (2014-02-19 16:56:59 UTC) #1
adamk
lgtm modulo inline keywords https://codereview.chromium.org/172313003/diff/1/Source/core/dom/ElementTraversal.h File Source/core/dom/ElementTraversal.h (right): https://codereview.chromium.org/172313003/diff/1/Source/core/dom/ElementTraversal.h#newcode37 Source/core/dom/ElementTraversal.h:37: static inline Element* firstWithin(const ContainerNode& ...
6 years, 10 months ago (2014-02-19 17:23:03 UTC) #2
Inactive
Yes, I moved the methods definitions and forgot to remove the inlines, sorry about that. ...
6 years, 10 months ago (2014-02-19 17:54:47 UTC) #3
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 10 months ago (2014-02-19 17:55:02 UTC) #4
adamk
still lgtm :) My brain will definitely be happier that these are now classes, and ...
6 years, 10 months ago (2014-02-19 17:56:03 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/172313003/80001
6 years, 10 months ago (2014-02-19 22:04:20 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/172313003/80001
6 years, 10 months ago (2014-02-19 23:09:45 UTC) #7
commit-bot: I haz the power
6 years, 10 months ago (2014-02-20 07:38:49 UTC) #8
Message was sent while issue was closed.
Change committed as 167473

Powered by Google App Engine
This is Rietveld 408576698