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

Unified Diff: third_party/WebKit/Source/core/css/RuleSet.h

Issue 2420413005: Collect @viewport before constructing RuleSets. (Closed)
Patch Set: Rebased Created 4 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/RuleSet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/RuleSet.h
diff --git a/third_party/WebKit/Source/core/css/RuleSet.h b/third_party/WebKit/Source/core/css/RuleSet.h
index 1e5df41f7f273f04149f5f099bf825d443adc2a8..34b52808b1698f6f82d42426998244d9d425fa0c 100644
--- a/third_party/WebKit/Source/core/css/RuleSet.h
+++ b/third_party/WebKit/Source/core/css/RuleSet.h
@@ -200,10 +200,6 @@ class CORE_EXPORT RuleSet : public GarbageCollectedFinalized<RuleSet> {
ASSERT(!m_pendingRules);
return m_pageRules;
}
- const HeapVector<Member<StyleRuleViewport>>& viewportRules() const {
- ASSERT(!m_pendingRules);
- return m_viewportRules;
- }
const HeapVector<Member<StyleRuleFontFace>>& fontFaceRules() const {
return m_fontFaceRules;
}
@@ -308,7 +304,6 @@ class CORE_EXPORT RuleSet : public GarbageCollectedFinalized<RuleSet> {
HeapVector<RuleData> m_shadowHostRules;
RuleFeatureSet m_features;
HeapVector<Member<StyleRulePage>> m_pageRules;
- HeapVector<Member<StyleRuleViewport>> m_viewportRules;
HeapVector<Member<StyleRuleFontFace>> m_fontFaceRules;
HeapVector<Member<StyleRuleKeyframes>> m_keyframesRules;
HeapVector<MinimalRuleData> m_deepCombinatorOrShadowPseudoRules;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/RuleSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698