| Index: Source/core/css/CSSDefaultStyleSheets.cpp
|
| diff --git a/Source/core/css/CSSDefaultStyleSheets.cpp b/Source/core/css/CSSDefaultStyleSheets.cpp
|
| index 8b45af379f384f5f84da49cb8dfc29b35ab39704..de038e3b60c693bbde43130b79392e381ec690cb 100644
|
| --- a/Source/core/css/CSSDefaultStyleSheets.cpp
|
| +++ b/Source/core/css/CSSDefaultStyleSheets.cpp
|
| @@ -47,6 +47,7 @@ RuleSet* CSSDefaultStyleSheets::defaultStyle;
|
| RuleSet* CSSDefaultStyleSheets::defaultQuirksStyle;
|
| RuleSet* CSSDefaultStyleSheets::defaultPrintStyle;
|
| RuleSet* CSSDefaultStyleSheets::defaultViewSourceStyle;
|
| +RuleSet* CSSDefaultStyleSheets::defaultXHTMLMobileProfileStyle;
|
|
|
| StyleSheetContents* CSSDefaultStyleSheets::simpleDefaultStyleSheet;
|
| StyleSheetContents* CSSDefaultStyleSheets::defaultStyleSheet;
|
| @@ -152,6 +153,14 @@ RuleSet* CSSDefaultStyleSheets::viewSourceStyle()
|
| return defaultViewSourceStyle;
|
| }
|
|
|
| +RuleSet* CSSDefaultStyleSheets::xhtmlMobileProfileStyle()
|
| +{
|
| + if (!defaultXHTMLMobileProfileStyle) {
|
| + defaultXHTMLMobileProfileStyle = RuleSet::create().leakPtr();
|
| + defaultXHTMLMobileProfileStyle->addRulesFromSheet(parseUASheet(xhtmlmpUserAgentStyleSheet, sizeof(xhtmlmpUserAgentStyleSheet)), screenEval());
|
| + }
|
| + return defaultXHTMLMobileProfileStyle;
|
| +}
|
|
|
| void CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement(Element* element, bool& changedDefaultStyle)
|
| {
|
|
|