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

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

Issue 2410283005: Don't generate RuleSets for viewport UA sheets. (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/CSSDefaultStyleSheets.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/CSSDefaultStyleSheets.h
diff --git a/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.h b/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.h
index c174300003154e3f1fd31833e878415edec69cb6..5b53a219871d9942e5e0633bfb52db4decd48cea 100644
--- a/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.h
+++ b/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.h
@@ -47,11 +47,10 @@ class CSSDefaultStyleSheets : public GarbageCollected<CSSDefaultStyleSheets> {
RuleSet* defaultQuirksStyle() { return m_defaultQuirksStyle.get(); }
RuleSet* defaultPrintStyle() { return m_defaultPrintStyle.get(); }
RuleSet* defaultViewSourceStyle();
- RuleSet* defaultMobileViewportStyle();
- RuleSet* defaultTelevisionViewportStyle();
- // FIXME: Remove WAP support.
- RuleSet* defaultXHTMLMobileProfileStyle();
+ StyleSheetContents* ensureMobileViewportStyleSheet();
+ StyleSheetContents* ensureTelevisionViewportStyleSheet();
+ StyleSheetContents* ensureXHTMLMobileProfileStyleSheet();
StyleSheetContents* defaultStyleSheet() { return m_defaultStyleSheet.get(); }
StyleSheetContents* quirksStyleSheet() { return m_quirksStyleSheet.get(); }
@@ -70,16 +69,14 @@ class CSSDefaultStyleSheets : public GarbageCollected<CSSDefaultStyleSheets> {
CSSDefaultStyleSheets();
Member<RuleSet> m_defaultStyle;
- Member<RuleSet> m_defaultMobileViewportStyle;
- Member<RuleSet> m_defaultTelevisionViewportStyle;
Member<RuleSet> m_defaultQuirksStyle;
Member<RuleSet> m_defaultPrintStyle;
Member<RuleSet> m_defaultViewSourceStyle;
- Member<RuleSet> m_defaultXHTMLMobileProfileStyle;
Member<StyleSheetContents> m_defaultStyleSheet;
Member<StyleSheetContents> m_mobileViewportStyleSheet;
Member<StyleSheetContents> m_televisionViewportStyleSheet;
+ Member<StyleSheetContents> m_xhtmlMobileProfileStyleSheet;
Member<StyleSheetContents> m_quirksStyleSheet;
Member<StyleSheetContents> m_svgStyleSheet;
Member<StyleSheetContents> m_mathmlStyleSheet;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698