| Index: Source/core/html/HTMLVideoElement.cpp
|
| diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp
|
| index c79385ac73716009188b765efaaf9da9f2459b75..881749a244e90706d433d9bac5a1773a13ed08b6 100644
|
| --- a/Source/core/html/HTMLVideoElement.cpp
|
| +++ b/Source/core/html/HTMLVideoElement.cpp
|
| @@ -43,17 +43,17 @@ namespace WebCore {
|
|
|
| using namespace HTMLNames;
|
|
|
| -inline HTMLVideoElement::HTMLVideoElement(Document& document, bool createdByParser)
|
| - : HTMLMediaElement(videoTag, document, createdByParser)
|
| +inline HTMLVideoElement::HTMLVideoElement(Document& document)
|
| + : HTMLMediaElement(videoTag, document)
|
| {
|
| ScriptWrappable::init(this);
|
| if (document.settings())
|
| m_defaultPosterURL = AtomicString(document.settings()->defaultVideoPosterURL());
|
| }
|
|
|
| -PassRefPtr<HTMLVideoElement> HTMLVideoElement::create(Document& document, bool createdByParser)
|
| +PassRefPtr<HTMLVideoElement> HTMLVideoElement::create(Document& document)
|
| {
|
| - RefPtr<HTMLVideoElement> videoElement(adoptRef(new HTMLVideoElement(document, createdByParser)));
|
| + RefPtr<HTMLVideoElement> videoElement(adoptRef(new HTMLVideoElement(document)));
|
| videoElement->suspendIfNeeded();
|
| return videoElement.release();
|
| }
|
|
|