| Index: Source/core/html/HTMLSourceElement.cpp
|
| diff --git a/Source/core/html/HTMLSourceElement.cpp b/Source/core/html/HTMLSourceElement.cpp
|
| index 9d213d471a34c29978edeb06b22a6653a1351cc2..75daceb07a42bbfeda2bebab011f17558e2a7da9 100644
|
| --- a/Source/core/html/HTMLSourceElement.cpp
|
| +++ b/Source/core/html/HTMLSourceElement.cpp
|
| @@ -72,25 +72,25 @@ void HTMLSourceElement::removedFrom(ContainerNode* removalRoot)
|
|
|
| void HTMLSourceElement::setSrc(const String& url)
|
| {
|
| - setAttribute(srcAttr, url);
|
| + setAttribute(srcAttr, AtomicString(url));
|
| }
|
|
|
| -String HTMLSourceElement::media() const
|
| +const AtomicString& HTMLSourceElement::media() const
|
| {
|
| return getAttribute(mediaAttr);
|
| }
|
|
|
| -void HTMLSourceElement::setMedia(const String& media)
|
| +void HTMLSourceElement::setMedia(const AtomicString& media)
|
| {
|
| setAttribute(mediaAttr, media);
|
| }
|
|
|
| -String HTMLSourceElement::type() const
|
| +const AtomicString& HTMLSourceElement::type() const
|
| {
|
| return getAttribute(typeAttr);
|
| }
|
|
|
| -void HTMLSourceElement::setType(const String& type)
|
| +void HTMLSourceElement::setType(const AtomicString& type)
|
| {
|
| setAttribute(typeAttr, type);
|
| }
|
|
|