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

Unified Diff: third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.h

Issue 2613213002: Support Style Sharing for Shadow DOM V1 (Closed)
Patch Set: update Created 3 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/css/resolver/SharedStyleFinder.h
diff --git a/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.h b/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.h
index f554163a5d5bf1b1c92d716c2c3212f03b5f859f..7314417310c85528733ce5e5614cb830b6440347 100644
--- a/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.h
+++ b/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.h
@@ -68,6 +68,7 @@ class CORE_EXPORT SharedStyleFinder {
bool sharingCandidateHasIdenticalStyleAffectingAttributes(
Element& candidate) const;
bool sharingCandidateCanShareHostStyles(Element& candidate) const;
+ bool sharingCandidateAssignedToSameSlot(Element& candidate) const;
bool sharingCandidateDistributedToSameInsertionPoint(
Element& candidate) const;
bool matchesRuleSet(RuleSet*);

Powered by Google App Engine
This is Rietveld 408576698