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

Unified Diff: third_party/WebKit/Source/web/WebNode.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/WebNode.cpp
diff --git a/third_party/WebKit/Source/web/WebNode.cpp b/third_party/WebKit/Source/web/WebNode.cpp
index ed7f5ec5fb83e299bdc627f889ec54afb215fab3..9bdeae6462c67eb544d205743cc52b69effc4e68 100644
--- a/third_party/WebKit/Source/web/WebNode.cpp
+++ b/third_party/WebKit/Source/web/WebNode.cpp
@@ -257,7 +257,7 @@ void WebNode::querySelectorAll(const WebString& selector, WebVector<WebElement>&
if (!m_private->isContainerNode())
return;
TrackExceptionState exceptionState;
- RefPtrWillBeRawPtr<StaticElementList> elements = toContainerNode(m_private.get())->querySelectorAll(selector, exceptionState);
+ RawPtr<StaticElementList> elements = toContainerNode(m_private.get())->querySelectorAll(selector, exceptionState);
ec = exceptionState.code();
if (exceptionState.hadException())
return;
@@ -305,18 +305,18 @@ WebAXObject WebNode::accessibilityObject()
return cache ? WebAXObject(cache->get(node)) : WebAXObject();
}
-WebNode::WebNode(const PassRefPtrWillBeRawPtr<Node>& node)
+WebNode::WebNode(const RawPtr<Node>& node)
: m_private(node)
{
}
-WebNode& WebNode::operator=(const PassRefPtrWillBeRawPtr<Node>& node)
+WebNode& WebNode::operator=(const RawPtr<Node>& node)
{
m_private = node;
return *this;
}
-WebNode::operator PassRefPtrWillBeRawPtr<Node>() const
+WebNode::operator RawPtr<Node>() const
{
return m_private.get();
}
« no previous file with comments | « third_party/WebKit/Source/web/WebMetaElement.cpp ('k') | third_party/WebKit/Source/web/WebOptionElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698