Index: Source/core/css/resolver/ScopedStyleResolver.h |
diff --git a/Source/core/css/resolver/ScopedStyleResolver.h b/Source/core/css/resolver/ScopedStyleResolver.h |
index 5372eddf40231fef7043c482e628989e2aad36bc..178cc37de81af0c46230bd8a46c99e3bf93bbe73 100644 |
--- a/Source/core/css/resolver/ScopedStyleResolver.h |
+++ b/Source/core/css/resolver/ScopedStyleResolver.h |
@@ -55,7 +55,7 @@ public: |
static const ContainerNode* scopingNodeFor(const CSSStyleSheet*); |
const ContainerNode& scopingNode() const { return m_scopingNode; } |
- const TreeScope& treeScope() const { return m_scopingNode.treeScope(); } |
+ NonNullPtr<const TreeScope> treeScope() const { return m_scopingNode.treeScope(); } |
void prepareEmptyRuleSet() { m_authorStyle = RuleSet::create(); } |
void setParent(ScopedStyleResolver* newParent) { m_parent = newParent; } |
ScopedStyleResolver* parent() { return m_parent; } |