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

Unified Diff: third_party/WebKit/Source/core/testing/DummyPageHolder.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/testing/DummyPageHolder.cpp
diff --git a/third_party/WebKit/Source/core/testing/DummyPageHolder.cpp b/third_party/WebKit/Source/core/testing/DummyPageHolder.cpp
index b8e5a95c137cedaf8a16dfd283bf7c457b52c890..b2a1d0235e0ad5399ac21db93c32d836f8e170bb 100644
--- a/third_party/WebKit/Source/core/testing/DummyPageHolder.cpp
+++ b/third_party/WebKit/Source/core/testing/DummyPageHolder.cpp
@@ -80,7 +80,7 @@ DummyPageHolder::DummyPageHolder(const IntSize& initialViewSize,
if (!m_localFrameClient)
m_localFrameClient = EmptyLocalFrameClient::create();
- m_frame = LocalFrame::create(m_localFrameClient.get(), m_page, nullptr,
+ m_frame = LocalFrame::create(m_localFrameClient.get(), *m_page, nullptr,
interfaceProvider);
m_frame->setView(FrameView::create(*m_frame, initialViewSize));
m_frame->view()->page()->visualViewport().setSize(initialViewSize);

Powered by Google App Engine
This is Rietveld 408576698