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

Unified Diff: third_party/WebKit/Source/web/WebFrame.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/web/WebFrame.cpp
diff --git a/third_party/WebKit/Source/web/WebFrame.cpp b/third_party/WebKit/Source/web/WebFrame.cpp
index 5ea8859a994337fe5625a063aa2bd1263aa77c5f..593f251a3a7a25df6d744ecde135a4d843e47e15 100644
--- a/third_party/WebKit/Source/web/WebFrame.cpp
+++ b/third_party/WebKit/Source/web/WebFrame.cpp
@@ -28,7 +28,7 @@ namespace blink {
bool WebFrame::swap(WebFrame* frame)
{
using std::swap;
- RefPtrWillBeRawPtr<Frame> oldFrame = toImplBase()->frame();
+ RawPtr<Frame> oldFrame = toImplBase()->frame();
#if !ENABLE(OILPAN)
RefPtr<WebFrameImplBase> protectThis = toImplBase();
#endif
@@ -268,7 +268,7 @@ WebFrame* WebFrame::findChildByName(const WebString& name) const
WebFrame* WebFrame::fromFrameOwnerElement(const WebElement& webElement)
{
- Element* element = PassRefPtrWillBeRawPtr<Element>(webElement).get();
+ Element* element = RawPtr<Element>(webElement).get();
if (!element->isFrameOwnerElement())
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698