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

Unified Diff: third_party/WebKit/Source/core/dom/Attr.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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Attr.h ('k') | third_party/WebKit/Source/core/dom/AttrTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Attr.cpp
diff --git a/third_party/WebKit/Source/core/dom/Attr.cpp b/third_party/WebKit/Source/core/dom/Attr.cpp
index d874e83d2dd96da70863d9567e44f9305de8b9a7..2b21fa995ed8a648a1b4c5dfd5ae6722cb19d1f5 100644
--- a/third_party/WebKit/Source/core/dom/Attr.cpp
+++ b/third_party/WebKit/Source/core/dom/Attr.cpp
@@ -52,14 +52,14 @@ Attr::Attr(Document& document, const QualifiedName& name, const AtomicString& st
{
}
-PassRefPtrWillBeRawPtr<Attr> Attr::create(Element& element, const QualifiedName& name)
+RawPtr<Attr> Attr::create(Element& element, const QualifiedName& name)
{
- return adoptRefWillBeNoop(new Attr(element, name));
+ return new Attr(element, name);
}
-PassRefPtrWillBeRawPtr<Attr> Attr::create(Document& document, const QualifiedName& name, const AtomicString& value)
+RawPtr<Attr> Attr::create(Document& document, const QualifiedName& name, const AtomicString& value)
{
- return adoptRefWillBeNoop(new Attr(document, name, value));
+ return new Attr(document, name, value);
}
Attr::~Attr()
@@ -115,10 +115,10 @@ void Attr::setNodeValue(const String& v)
setValue(AtomicString(v));
}
-PassRefPtrWillBeRawPtr<Node> Attr::cloneNode(bool /*deep*/)
+RawPtr<Node> Attr::cloneNode(bool /*deep*/)
{
UseCounter::count(document(), UseCounter::AttrCloneNode);
- return adoptRefWillBeNoop(new Attr(document(), m_name, value()));
+ return new Attr(document(), m_name, value());
}
void Attr::detachFromElementWithValue(const AtomicString& value)
« no previous file with comments | « third_party/WebKit/Source/core/dom/Attr.h ('k') | third_party/WebKit/Source/core/dom/AttrTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698