| Index: sky/engine/core/dom/Document.cpp
|
| diff --git a/sky/engine/core/dom/Document.cpp b/sky/engine/core/dom/Document.cpp
|
| index 56a94af490ea7a4634e4f9ef5a8204f43ec6447f..2506ac864eaec8255405c0034256856b85a32470 100644
|
| --- a/sky/engine/core/dom/Document.cpp
|
| +++ b/sky/engine/core/dom/Document.cpp
|
| @@ -1579,7 +1579,7 @@ void Document::updateBaseURL()
|
| // Element sheet is silly. It never contains anything.
|
| ASSERT(!m_elemSheet->contents()->ruleCount());
|
| bool usesRemUnits = m_elemSheet->contents()->usesRemUnits();
|
| - m_elemSheet = CSSStyleSheet::createInline(this, m_baseURL);
|
| + m_elemSheet = CSSStyleSheet::create(this, m_baseURL);
|
| // FIXME: So we are not really the parser. The right fix is to eliminate the element sheet completely.
|
| m_elemSheet->contents()->parserSetUsesRemUnits(usesRemUnits);
|
| }
|
| @@ -1627,7 +1627,7 @@ TextPosition Document::parserPosition() const
|
| CSSStyleSheet& Document::elementSheet()
|
| {
|
| if (!m_elemSheet)
|
| - m_elemSheet = CSSStyleSheet::createInline(this, m_baseURL);
|
| + m_elemSheet = CSSStyleSheet::create(this, m_baseURL);
|
| return *m_elemSheet;
|
| }
|
|
|
|
|