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

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

Issue 2528633003: Move MediaQueryResults to RuleFeatureSet. (Closed)
Patch Set: Removed members. Created 4 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
Index: third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
diff --git a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
index 3cac30d0f0ddd8a7109d73c71f9ca252b899392d..3e79497379c7443be45ad3ba812452434ba7f1d4 100644
--- a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
+++ b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
@@ -57,7 +57,7 @@ class ScopedStyleResolver final : public GarbageCollected<ScopedStyleResolver> {
StyleRuleKeyframes* keyframeStylesForAnimation(
const StringImpl* animationName);
- void appendCSSStyleSheet(CSSStyleSheet&, const MediaQueryEvaluator&);
+ void appendCSSStyleSheet(CSSStyleSheet&);
void appendActiveStyleSheets(unsigned index, const ActiveStyleSheetVector&);
void collectMatchingAuthorRules(ElementRuleCollector&,
CascadeOrder = ignoreCascadeOrder);
@@ -91,6 +91,8 @@ class ScopedStyleResolver final : public GarbageCollected<ScopedStyleResolver> {
Member<TreeScope> m_scope;
HeapVector<Member<CSSStyleSheet>> m_authorStyleSheets;
+ MediaQueryResultList m_viewportDependentMediaQueryResults;
+ MediaQueryResultList m_deviceDependentMediaQueryResults;
using KeyframesRuleMap =
HeapHashMap<const StringImpl*, Member<StyleRuleKeyframes>>;
« no previous file with comments | « third_party/WebKit/Source/core/css/RuleSet.cpp ('k') | third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698