| 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 {
|
|
|