diff options
Diffstat (limited to 'WebCore/rendering/ShadowElement.h')
-rw-r--r-- | WebCore/rendering/ShadowElement.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/rendering/ShadowElement.h b/WebCore/rendering/ShadowElement.h index 04db62b..f5668ef 100644 --- a/WebCore/rendering/ShadowElement.h +++ b/WebCore/rendering/ShadowElement.h @@ -43,13 +43,13 @@ protected: { } - HTMLElement* shadowParent() const { return m_shadowParent; } + HTMLElement* shadowParent() const { return m_shadowParent.get(); } private: virtual bool isShadowNode() const { return true; } - virtual ContainerNode* shadowParentNode() { return m_shadowParent; } + virtual ContainerNode* shadowParentNode() { return m_shadowParent.get(); } - HTMLElement* m_shadowParent; + RefPtr<HTMLElement> m_shadowParent; }; class ShadowBlockElement : public ShadowElement<HTMLDivElement> { |