Index: Source/core/html/HTMLAudioElement.cpp |
diff --git a/Source/core/html/HTMLAudioElement.cpp b/Source/core/html/HTMLAudioElement.cpp |
index bdc0d9f3a04fc64c798645dab34d1b044bbb08d1..b1993bc85178fbc34678ac8c133c2cd2b7e05a98 100644 |
--- a/Source/core/html/HTMLAudioElement.cpp |
+++ b/Source/core/html/HTMLAudioElement.cpp |
@@ -48,7 +48,7 @@ PassRefPtr<HTMLAudioElement> HTMLAudioElement::create(Document& document, bool c |
PassRefPtr<HTMLAudioElement> HTMLAudioElement::createForJSConstructor(Document& document, const AtomicString& src) |
{ |
RefPtr<HTMLAudioElement> audio = adoptRef(new HTMLAudioElement(document, false)); |
- audio->setPreload("auto"); |
+ audio->setPreload(AtomicString("auto", AtomicString::ConstructFromLiteral)); |
if (!src.isNull()) |
audio->setSrc(src); |
audio->suspendIfNeeded(); |