Index: Source/core/frame/Frame.h |
diff --git a/Source/core/frame/Frame.h b/Source/core/frame/Frame.h |
index 7af46d297b0825dadd7c12b58456113f0ba8ecb2..975b1171ae3f89576ec7ee8f65ae135753cd97c8 100644 |
--- a/Source/core/frame/Frame.h |
+++ b/Source/core/frame/Frame.h |
@@ -100,7 +100,7 @@ namespace WebCore { |
FrameLoader* loader() const; |
NavigationScheduler* navigationScheduler() const; |
FrameSelection& selection() const; |
- FrameTree* tree() const; |
+ FrameTree& tree() const; |
AnimationController& animation() const; |
InputMethodController& inputMethodController() const; |
FetchContext& fetchContext() const { return loader()->fetchContext(); } |
@@ -267,9 +267,9 @@ namespace WebCore { |
m_inViewSourceMode = mode; |
} |
- inline FrameTree* Frame::tree() const |
+ inline FrameTree& Frame::tree() const |
{ |
- return &m_treeNode; |
+ return m_treeNode; |
} |
inline Page* Frame::page() const |