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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.h

Issue 2251703002: Introduce EphemeralRange::nodes() helper to traverse over a range. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move inRange() to EphemeralRange::nodes() Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.h
diff --git a/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.h b/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.h
index 375a773423e617021f07ff72df4f64d261d98de9..03bb6ed79fd47782e8c21d76766698095436aecf 100644
--- a/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.h
+++ b/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.h
@@ -54,6 +54,7 @@ class CORE_EXPORT FlatTreeTraversal {
STATIC_ONLY(FlatTreeTraversal);
public:
typedef LayoutTreeBuilderTraversal::ParentDetails ParentTraversalDetails;
+ using TraversalNodeType = Node;
static Node* next(const Node&);
static Node* next(const Node&, const Node* stayWithin);

Powered by Google App Engine
This is Rietveld 408576698