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

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

Issue 2272683002: Consider pseudo classes as matching for shared style rejection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Handle negated selectors 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/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 572614f6bd88f15d7b1fa2e1783290809d86177d..10815976e099bbcc144559134cbbd59fe71550a1 100644
--- a/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.h
+++ b/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.h
@@ -34,7 +34,7 @@ class RuleSet;
class SpaceSplitString;
class StyleResolver;
-class SharedStyleFinder {
+class CORE_EXPORT SharedStyleFinder {
STACK_ALLOCATED();
public:
// RuleSets are passed non-const as the act of matching against them can cause them
@@ -76,6 +76,8 @@ private:
Member<RuleSet> m_uncommonAttributeRuleSet;
Member<StyleResolver> m_styleResolver;
const ElementResolveContext& m_context;
+
+ friend class SharedStyleFinderTest;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698