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

Unified Diff: Source/core/testing/DummyPageHolder.cpp

Issue 1306793003: Oilpan: Move FrameLoaderClient class hierarchy into Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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
« no previous file with comments | « Source/core/testing/DummyPageHolder.h ('k') | Source/web/FrameLoaderClientImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/DummyPageHolder.cpp
diff --git a/Source/core/testing/DummyPageHolder.cpp b/Source/core/testing/DummyPageHolder.cpp
index 733e19c402e883566e01f2cfbb38a4212684bc05..b4931d491cc0915429a65d11cc5513ff6b14d870 100644
--- a/Source/core/testing/DummyPageHolder.cpp
+++ b/Source/core/testing/DummyPageHolder.cpp
@@ -43,14 +43,14 @@ namespace blink {
PassOwnPtr<DummyPageHolder> DummyPageHolder::create(
const IntSize& initialViewSize,
Page::PageClients* pageClients,
- PassOwnPtr<FrameLoaderClient> frameLoaderClient) {
+ PassOwnPtrWillBeRawPtr<FrameLoaderClient> frameLoaderClient) {
return adoptPtr(new DummyPageHolder(initialViewSize, pageClients, frameLoaderClient));
}
DummyPageHolder::DummyPageHolder(
const IntSize& initialViewSize,
Page::PageClients* pageClientsArgument,
- PassOwnPtr<FrameLoaderClient> frameLoaderClient)
+ PassOwnPtrWillBeRawPtr<FrameLoaderClient> frameLoaderClient)
{
Page::PageClients pageClients;
if (!pageClientsArgument) {
@@ -70,7 +70,7 @@ DummyPageHolder::DummyPageHolder(
m_frameLoaderClient = frameLoaderClient;
if (!m_frameLoaderClient)
- m_frameLoaderClient = adoptPtr(new EmptyFrameLoaderClient);
+ m_frameLoaderClient = EmptyFrameLoaderClient::create();
m_frame = LocalFrame::create(m_frameLoaderClient.get(), &m_page->frameHost(), 0);
m_frame->setView(FrameView::create(m_frame.get(), initialViewSize));
« no previous file with comments | « Source/core/testing/DummyPageHolder.h ('k') | Source/web/FrameLoaderClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698