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

Unified Diff: Source/core/css/resolver/StyleResolver.h

Issue 54543011: Have StyleResolverParentPusher / SelectorFilter deal with references (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « Source/core/css/SelectorFilter.cpp ('k') | Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/StyleResolver.h
diff --git a/Source/core/css/resolver/StyleResolver.h b/Source/core/css/resolver/StyleResolver.h
index 51d87a6e34177017176ee62c432aa0b6ac3feb78..e66b7c64372e803ffc1f6c7be363f2db50ead9a0 100644
--- a/Source/core/css/resolver/StyleResolver.h
+++ b/Source/core/css/resolver/StyleResolver.h
@@ -183,8 +183,8 @@ public:
// These should move to some global tree-walk state, or should be contained in a
// TreeWalkContext or similar which is passed in to StyleResolver methods when available.
// Using these during tree walk will allow style selector to optimize child and descendant selector lookups.
- void pushParentElement(Element*);
- void popParentElement(Element*);
+ void pushParentElement(Element&);
+ void popParentElement(Element&);
void pushParentShadowRoot(const ShadowRoot&);
void popParentShadowRoot(const ShadowRoot&);
« no previous file with comments | « Source/core/css/SelectorFilter.cpp ('k') | Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698