Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2327)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp

Issue 2762423003: Made Frame constructors (and subclasses) take Page& instead of Page* (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « third_party/WebKit/Source/core/frame/RemoteFrame.cpp ('k') | third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698