Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 92f5c6dd47b0fc04183972ac590261bdfc925442..7ca36b19545b74090f4b3a4a9eee53d3c17b9c48 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -2903,11 +2903,11 @@ void Document::executeScriptsWaitingForResourcesIfNeeded() |
} |
-CSSStyleSheet* Document::elementSheet() |
+CSSStyleSheet& Document::elementSheet() |
{ |
if (!m_elemSheet) |
m_elemSheet = CSSStyleSheet::createInline(this, m_baseURL); |
- return m_elemSheet.get(); |
+ return *m_elemSheet; |
} |
void Document::processHttpEquiv(const AtomicString& equiv, const AtomicString& content, bool inDocumentHeadElement) |