Index: third_party/WebKit/Source/core/frame/VisualViewport.cpp |
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.cpp b/third_party/WebKit/Source/core/frame/VisualViewport.cpp |
index c707cc7650298aa42ab43d4b607fa27ef60b31fe..71388154af98c38a5efdfa1ff1c72483ab7d6d24 100644 |
--- a/third_party/WebKit/Source/core/frame/VisualViewport.cpp |
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.cpp |
@@ -60,8 +60,8 @@ |
namespace blink { |
-VisualViewport::VisualViewport(FrameHost& owner) |
- : m_frameHost(&owner), |
+VisualViewport::VisualViewport(Page& owner) |
+ : m_page(&owner), |
m_scale(1), |
m_browserControlsAdjustment(0), |
m_maxPageScale(-1), |
@@ -74,7 +74,7 @@ VisualViewport::~VisualViewport() { |
} |
DEFINE_TRACE(VisualViewport) { |
- visitor->trace(m_frameHost); |
+ visitor->trace(m_page); |
ScrollableArea::trace(visitor); |
} |