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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTestHelper.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/layout/LayoutTestHelper.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp b/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
index 3d2e288b0b278ceca3aa95c41f5f5f6b7f17969f..891b196d005a04adda19f0d724d958ef4a998e4a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
@@ -15,7 +15,7 @@ namespace {
class FakeChromeClient : public EmptyChromeClient {
public:
- static PassOwnPtrWillBeRawPtr<FakeChromeClient> create() { return adoptPtrWillBeNoop(new FakeChromeClient); }
+ static RawPtr<FakeChromeClient> create() { return (new FakeChromeClient); }
GraphicsLayerFactory* graphicsLayerFactory() const override
{
@@ -25,14 +25,14 @@ public:
} // namespace
-RenderingTest::RenderingTest(PassOwnPtrWillBeRawPtr<FrameLoaderClient> frameLoaderClient)
+RenderingTest::RenderingTest(RawPtr<FrameLoaderClient> frameLoaderClient)
: m_frameLoaderClient(frameLoaderClient) { }
void RenderingTest::SetUp()
{
Page::PageClients pageClients;
fillWithEmptyClients(pageClients);
- DEFINE_STATIC_LOCAL(OwnPtrWillBePersistent<FakeChromeClient>, chromeClient, (FakeChromeClient::create()));
+ DEFINE_STATIC_LOCAL(Persistent<FakeChromeClient>, chromeClient, (FakeChromeClient::create()));
pageClients.chromeClient = chromeClient.get();
m_pageHolder = DummyPageHolder::create(IntSize(800, 600), &pageClients, m_frameLoaderClient.release(), settingOverrider());

Powered by Google App Engine
This is Rietveld 408576698