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

Unified Diff: third_party/WebKit/Source/web/WebElement.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, 9 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/WebElement.cpp
diff --git a/third_party/WebKit/Source/web/WebElement.cpp b/third_party/WebKit/Source/web/WebElement.cpp
index 6fbe25398713b30fb38b2f179ee5557f4b0f7af1..9202795f4c8cf997b0e9d58b3fd2b125ee36187c 100644
--- a/third_party/WebKit/Source/web/WebElement.cpp
+++ b/third_party/WebKit/Source/web/WebElement.cpp
@@ -158,20 +158,20 @@ WebImage WebElement::imageContents()
return WebImage(unwrap<Element>()->imageContents());
}
-WebElement::WebElement(const PassRefPtrWillBeRawPtr<Element>& elem)
+WebElement::WebElement(const RawPtr<Element>& elem)
: WebNode(elem)
{
}
DEFINE_WEB_NODE_TYPE_CASTS(WebElement, isElementNode());
-WebElement& WebElement::operator=(const PassRefPtrWillBeRawPtr<Element>& elem)
+WebElement& WebElement::operator=(const RawPtr<Element>& elem)
{
m_private = elem;
return *this;
}
-WebElement::operator PassRefPtrWillBeRawPtr<Element>() const
+WebElement::operator RawPtr<Element>() const
{
return toElement(m_private.get());
}
« no previous file with comments | « third_party/WebKit/Source/web/WebDocument.cpp ('k') | third_party/WebKit/Source/web/WebElementCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698