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

Unified Diff: Source/core/html/HTMLAudioElement.h

Issue 1225813003: The src argument for HTMLAudioElement constructor should not have default value. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | Source/core/html/HTMLAudioElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLAudioElement.h
diff --git a/Source/core/html/HTMLAudioElement.h b/Source/core/html/HTMLAudioElement.h
index b57784a6881564b0b8c2cb9453faaeeb27aa77fb..6f60081f30ea42ee09a1295a342db75ebd0fe193 100644
--- a/Source/core/html/HTMLAudioElement.h
+++ b/Source/core/html/HTMLAudioElement.h
@@ -37,6 +37,7 @@ class HTMLAudioElement final : public HTMLMediaElement {
DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtrWillBeRawPtr<HTMLAudioElement> create(Document&);
+ static PassRefPtrWillBeRawPtr<HTMLAudioElement> createForJSConstructor(Document&);
static PassRefPtrWillBeRawPtr<HTMLAudioElement> createForJSConstructor(Document&, const AtomicString& src);
bool isHTMLAudioElement() const override { return true; }
« no previous file with comments | « no previous file | Source/core/html/HTMLAudioElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698