Index: third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp b/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp |
index 29858793e2824b80e965916f31b1da521dcc80e7..39337e8cf2c6d3faab8c881a2047e8dcfc2d1161 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp |
@@ -24,7 +24,7 @@ LocalFrame* SingleChildLocalFrameClient::createFrame( |
LocalFrame* parentFrame = ownerElement->document().frame(); |
auto* childClient = LocalFrameClientWithParent::create(parentFrame); |
- m_child = LocalFrame::create(childClient, parentFrame->page(), ownerElement); |
+ m_child = LocalFrame::create(childClient, *parentFrame->page(), ownerElement); |
m_child->createView(IntSize(500, 500), Color(), true /* transparent */); |
m_child->init(); |