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

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

Issue 1913833002: Current work-in-progress crbug.com/567021 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More assert fixes Created 4 years, 7 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/CSSDefaultStyleSheets.h
diff --git a/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.h b/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.h
index 8c4e183a468b85f03d4958705b8831e10c3a1daa..472caa16afec8d23a2c5ae9048d8c72804ebd6e4 100644
--- a/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.h
+++ b/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.h
@@ -37,18 +37,18 @@ class CSSDefaultStyleSheets : public GarbageCollected<CSSDefaultStyleSheets> {
public:
static CSSDefaultStyleSheets& instance();
- void ensureDefaultStyleSheetsForElement(const Element&, bool& changedDefaultStyle);
- void ensureDefaultStyleSheetForFullscreen();
+ bool ensureDefaultStyleSheetsForElement(const Element&);
+ bool ensureDefaultStyleSheetForFullscreen();
RuleSet* defaultStyle() { return m_defaultStyle.get(); }
RuleSet* defaultQuirksStyle() { return m_defaultQuirksStyle.get(); }
RuleSet* defaultPrintStyle() { return m_defaultPrintStyle.get(); }
RuleSet* defaultViewSourceStyle();
- RuleSet* defaultMobileViewportStyle();
- RuleSet* defaultTelevisionViewportStyle();
+ StyleSheetContents* ensureMobileViewportStyleSheet();
+ StyleSheetContents* ensureTelevisionViewportStyleSheet();
// FIXME: Remove WAP support.
- RuleSet* defaultXHTMLMobileProfileStyle();
+ StyleSheetContents* ensureXHTMLMobileProfileStyleSheet();
StyleSheetContents* defaultStyleSheet() { return m_defaultStyleSheet.get(); }
StyleSheetContents* quirksStyleSheet() { return m_quirksStyleSheet.get(); }
@@ -63,16 +63,14 @@ private:
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;

Powered by Google App Engine
This is Rietveld 408576698