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

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, 10 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 d6b6eea11e31deb4578471dca6a3d2d0b6460691..9f24303bb089e1a299250b208e6d901a255cbd85 100644
--- a/third_party/WebKit/Source/core/page/PrintContextTest.cpp
+++ b/third_party/WebKit/Source/core/page/PrintContextTest.cpp
@@ -76,13 +76,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(); }
@@ -134,7 +134,7 @@ protected:
private:
OwnPtr<DummyPageHolder> m_pageHolder;
- OwnPtrWillBePersistent<MockPrintContext> m_printContext;
+ Persistent<MockPrintContext> m_printContext;
};
class PrintContextFrameTest : public PrintContextTest {

Powered by Google App Engine
This is Rietveld 408576698