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

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, 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/dom/Attr.cpp
diff --git a/third_party/WebKit/Source/core/dom/Attr.cpp b/third_party/WebKit/Source/core/dom/Attr.cpp
index ed974834d6f21526ec77c9fae1434a6c5e58197b..001b0686cef5bfc316da2e3343b861a4bb1073a8 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)

Powered by Google App Engine
This is Rietveld 408576698