| Index: Source/core/dom/TreeScopeStyleSheetCollection.h
|
| diff --git a/Source/core/dom/TreeScopeStyleSheetCollection.h b/Source/core/dom/TreeScopeStyleSheetCollection.h
|
| index 679e35d5e2e8eac6e83b055c7bcc6a1f9a38ae5a..fc4348e6a4c3e1d22276d91d150738c977604e4f 100644
|
| --- a/Source/core/dom/TreeScopeStyleSheetCollection.h
|
| +++ b/Source/core/dom/TreeScopeStyleSheetCollection.h
|
| @@ -67,8 +67,7 @@ public:
|
| protected:
|
| explicit TreeScopeStyleSheetCollection(TreeScope&);
|
|
|
| - // FIXME: Should return a reference.
|
| - Document* document() { return &m_treeScope.document(); }
|
| + Document& document() const { return m_treeScope.document(); }
|
|
|
| enum StyleResolverUpdateType {
|
| Reconstruct,
|
|
|