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

Unified Diff: third_party/WebKit/Source/core/html/HTMLAudioElement.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/html/HTMLAudioElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLAudioElement.cpp b/third_party/WebKit/Source/core/html/HTMLAudioElement.cpp
index cc2922c0dab0b972bd1f5ac58e01350f6a553320..f07b768080eb53e8ffb8cb0e2b3965e207e97eba 100644
--- a/third_party/WebKit/Source/core/html/HTMLAudioElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLAudioElement.cpp
@@ -37,17 +37,17 @@ HTMLAudioElement::HTMLAudioElement(Document& document)
{
}
-PassRefPtrWillBeRawPtr<HTMLAudioElement> HTMLAudioElement::create(Document& document)
+RawPtr<HTMLAudioElement> HTMLAudioElement::create(Document& document)
{
- RefPtrWillBeRawPtr<HTMLAudioElement> audio = adoptRefWillBeNoop(new HTMLAudioElement(document));
+ RawPtr<HTMLAudioElement> audio = new HTMLAudioElement(document);
audio->ensureUserAgentShadowRoot();
audio->suspendIfNeeded();
return audio.release();
}
-PassRefPtrWillBeRawPtr<HTMLAudioElement> HTMLAudioElement::createForJSConstructor(Document& document, const AtomicString& src)
+RawPtr<HTMLAudioElement> HTMLAudioElement::createForJSConstructor(Document& document, const AtomicString& src)
{
- RefPtrWillBeRawPtr<HTMLAudioElement> audio = adoptRefWillBeNoop(new HTMLAudioElement(document));
+ RawPtr<HTMLAudioElement> audio = new HTMLAudioElement(document);
audio->ensureUserAgentShadowRoot();
audio->setPreload(AtomicString("auto", AtomicString::ConstructFromLiteral));
if (!src.isNull())
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLAudioElement.h ('k') | third_party/WebKit/Source/core/html/HTMLBodyElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698