| Index: third_party/WebKit/Source/core/css/StyleSheetList.h
|
| diff --git a/third_party/WebKit/Source/core/css/StyleSheetList.h b/third_party/WebKit/Source/core/css/StyleSheetList.h
|
| index d1280cc800c23f36e958d2ab04447e78f1e8d5e1..6ef21b6b42b21c354c1fc9f6ee99905ba11331a2 100644
|
| --- a/third_party/WebKit/Source/core/css/StyleSheetList.h
|
| +++ b/third_party/WebKit/Source/core/css/StyleSheetList.h
|
| @@ -44,7 +44,7 @@ public:
|
|
|
| HTMLStyleElement* getNamedItem(const AtomicString&) const;
|
|
|
| - Document* document() { return m_treeScope ? &m_treeScope->document() : nullptr; }
|
| + Document* document() const { return m_treeScope ? &m_treeScope->document() : nullptr; }
|
|
|
| #if !ENABLE(OILPAN)
|
| void detachFromDocument();
|
| @@ -56,7 +56,7 @@ public:
|
|
|
| private:
|
| explicit StyleSheetList(TreeScope*);
|
| - const HeapVector<Member<StyleSheet>>& styleSheets();
|
| + const HeapVector<Member<StyleSheet>>& styleSheets() const;
|
|
|
| Member<TreeScope> m_treeScope;
|
| #if !ENABLE(OILPAN)
|
|
|