Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index 07eebddf33c3a85c0f39b62889e77d5e5184f5b0..94b19303ac0a0fa2ce19bd3a6e872e2fa561ef61 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -3387,11 +3387,11 @@ bool Document::isSecureContextImpl(String* errorMessage, const SecureContextChec |
return true; |
} |
-StyleSheetList* Document::styleSheets() |
+StyleSheetList& Document::styleSheets() |
{ |
if (!m_styleSheetList) |
m_styleSheetList = StyleSheetList::create(this); |
- return m_styleSheetList.get(); |
+ return *m_styleSheetList; |
} |
String Document::preferredStylesheetSet() const |