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

Unified Diff: third_party/WebKit/Source/core/dom/Node.h

Issue 1642503002: Implement Node.treeRoot (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change return type and clean up the layout test Created 4 years, 11 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/Node.h
diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h
index 7b7650892ccdeac99f54f1d6332088201849e9b8..7d05ca569af0bea69523d76b7d321a056da70f21 100644
--- a/third_party/WebKit/Source/core/dom/Node.h
+++ b/third_party/WebKit/Source/core/dom/Node.h
@@ -214,6 +214,7 @@ public:
PassRefPtrWillBeRawPtr<NodeList> childNodes();
Node* firstChild() const;
Node* lastChild() const;
+ Node& treeRoot() const;
void remove(ExceptionState& = ASSERT_NO_EXCEPTION);

Powered by Google App Engine
This is Rietveld 408576698