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

Unified Diff: third_party/WebKit/Source/core/svg/SVGScriptElement.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/core/svg/SVGScriptElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGScriptElement.cpp b/third_party/WebKit/Source/core/svg/SVGScriptElement.cpp
index b749c82c4bae14dcb171d806e83040270f3eb25c..638e4178a95252c5ac5df6da2f629bfa418f6e3b 100644
--- a/third_party/WebKit/Source/core/svg/SVGScriptElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGScriptElement.cpp
@@ -36,9 +36,9 @@ inline SVGScriptElement::SVGScriptElement(Document& document, bool wasInsertedBy
{
}
-PassRefPtrWillBeRawPtr<SVGScriptElement> SVGScriptElement::create(Document& document, bool insertedByParser)
+RawPtr<SVGScriptElement> SVGScriptElement::create(Document& document, bool insertedByParser)
{
- return adoptRefWillBeNoop(new SVGScriptElement(document, insertedByParser, false));
+ return new SVGScriptElement(document, insertedByParser, false);
}
void SVGScriptElement::parseAttribute(const QualifiedName& name, const AtomicString& oldValue, const AtomicString& value)
@@ -147,9 +147,9 @@ bool SVGScriptElement::hasSourceAttribute() const
return href()->isSpecified();
}
-PassRefPtrWillBeRawPtr<Element> SVGScriptElement::cloneElementWithoutAttributesAndChildren()
+RawPtr<Element> SVGScriptElement::cloneElementWithoutAttributesAndChildren()
{
- return adoptRefWillBeNoop(new SVGScriptElement(document(), false, m_loader->alreadyStarted()));
+ return new SVGScriptElement(document(), false, m_loader->alreadyStarted());
}
void SVGScriptElement::dispatchLoadEvent()
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGScriptElement.h ('k') | third_party/WebKit/Source/core/svg/SVGStaticStringList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698