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

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

Issue 1649983003: Remove the forced layout in getComputedStyle for elements in Shadow DOM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Look at ShadowRoots when walking up the tree in updateLayoutTreeForNodeIfNeeded. 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/shadow/ComposedTreeTraversal.h
diff --git a/third_party/WebKit/Source/core/dom/shadow/ComposedTreeTraversal.h b/third_party/WebKit/Source/core/dom/shadow/ComposedTreeTraversal.h
index 2539ba80bbb7c6b0ecc8fb98c8003261982ba848..f93587b070cf6d3cedb752bccbba1edb4d34dbb9 100644
--- a/third_party/WebKit/Source/core/dom/shadow/ComposedTreeTraversal.h
+++ b/third_party/WebKit/Source/core/dom/shadow/ComposedTreeTraversal.h
@@ -153,8 +153,8 @@ private:
static ContainerNode* traverseParent(const Node&, ParentTraversalDetails* = 0);
// TODO(hayato): Make ParentTraversalDetails be aware of slot elements too.
- static ContainerNode* traverseParentForV0(const Node&, ParentTraversalDetails* = 0);
- static ContainerNode* traverseParentOrHost(const Node&);
+ static ContainerNode* traverseParentForV0(const Node&, ParentTraversalDetails* = 0);
+ static ContainerNode* traverseParentOrHost(const Node&, ParentTraversalDetails* = 0);
rune 2016/02/01 09:24:23 0 -> nullptr?
static Node* traverseNextSibling(const Node&);
static Node* traversePreviousSibling(const Node&);

Powered by Google App Engine
This is Rietveld 408576698