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

Unified Diff: third_party/WebKit/Source/core/frame/FrameHost.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/frame/FrameHost.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameHost.cpp b/third_party/WebKit/Source/core/frame/FrameHost.cpp
index c51afee0c625cb5513c1248bb93f3297a82e2ff0..0db148148b37468760eaf0b5beb82c30e19d32bb 100644
--- a/third_party/WebKit/Source/core/frame/FrameHost.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameHost.cpp
@@ -40,9 +40,9 @@
namespace blink {
-PassOwnPtrWillBeRawPtr<FrameHost> FrameHost::create(Page& page)
+RawPtr<FrameHost> FrameHost::create(Page& page)
{
- return adoptPtrWillBeNoop(new FrameHost(page));
+ return (new FrameHost(page));
}
FrameHost::FrameHost(Page& page)
@@ -50,7 +50,7 @@ FrameHost::FrameHost(Page& page)
, m_topControls(TopControls::create(*this))
, m_pageScaleConstraintsSet(PageScaleConstraintsSet::create())
, m_visualViewport(VisualViewport::create(*this))
- , m_eventHandlerRegistry(adoptPtrWillBeNoop(new EventHandlerRegistry(*this)))
+ , m_eventHandlerRegistry((new EventHandlerRegistry(*this)))
, m_consoleMessageStorage(ConsoleMessageStorage::create())
, m_subframeCount(0)
{

Powered by Google App Engine
This is Rietveld 408576698