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

Unified Diff: third_party/WebKit/Source/core/page/PrintContextTest.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/page/PrintContextTest.cpp
diff --git a/third_party/WebKit/Source/core/page/PrintContextTest.cpp b/third_party/WebKit/Source/core/page/PrintContextTest.cpp
index ba3388008a75e3d57e7e125ac5f2e98dc8e7baef..f09539d2450e3e3a9731168a45271d026af9bd50 100644
--- a/third_party/WebKit/Source/core/page/PrintContextTest.cpp
+++ b/third_party/WebKit/Source/core/page/PrintContextTest.cpp
@@ -71,13 +71,13 @@ private:
class PrintContextTest : public RenderingTest {
protected:
- explicit PrintContextTest(PassOwnPtrWillBeRawPtr<FrameLoaderClient> frameLoaderClient = nullptr)
+ explicit PrintContextTest(RawPtr<FrameLoaderClient> frameLoaderClient = nullptr)
: RenderingTest(frameLoaderClient) { }
void SetUp() override
{
RenderingTest::SetUp();
- m_printContext = adoptPtrWillBeNoop(new MockPrintContext(document().frame()));
+ m_printContext = new MockPrintContext(document().frame());
}
MockPrintContext& printContext() { return *m_printContext.get(); }
@@ -129,7 +129,7 @@ protected:
private:
OwnPtr<DummyPageHolder> m_pageHolder;
- OwnPtrWillBePersistent<MockPrintContext> m_printContext;
+ Persistent<MockPrintContext> m_printContext;
};
class PrintContextFrameTest : public PrintContextTest {
« no previous file with comments | « third_party/WebKit/Source/core/page/PrintContext.cpp ('k') | third_party/WebKit/Source/core/page/ScopedPageLoadDeferrer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698