Index: Source/core/css/StyleSheetList.h |
diff --git a/Source/core/css/StyleSheetList.h b/Source/core/css/StyleSheetList.h |
index 9750565e646be405ebd403569ceb4e3fc8dbc28d..cb91d87631e36e1943873d541ce001246dfd9ea5 100644 |
--- a/Source/core/css/StyleSheetList.h |
+++ b/Source/core/css/StyleSheetList.h |
@@ -43,8 +43,7 @@ public: |
HTMLStyleElement* getNamedItem(const AtomicString&) const; |
- // FIXME: Should return a reference. |
- Document* document() { return &m_treeScope->document(); } |
+ Document& document() { return m_treeScope->document(); } |
void detachFromDocument(); |
CSSStyleSheet* anonymousNamedGetter(const AtomicString&); |