| Index: Source/core/css/CSSDefaultStyleSheets.cpp
|
| diff --git a/Source/core/css/CSSDefaultStyleSheets.cpp b/Source/core/css/CSSDefaultStyleSheets.cpp
|
| index 65dbdbb80f26283dcccf803ef0ed81f48e728547..2d5ca7383ca8593823d6c805ee0d69e1c913cec3 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)
|
| {
|
|
|