<https://webkit.org/b/120068> Media controls can be attached lazily

Reviewed by Jer Noble.

Merge https://chromium.googlesource.com/chromium/blink/+/28a995486a675992f2e72f81bfabdfff05688a31.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::createMediaControls): Add AttachLazily to appendChild().


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154345 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 4f2ad8a1
2013-08-20 Eric Carlson <eric.carlson@apple.com>
<https://webkit.org/b/120068> Media controls can be attached lazily
Reviewed by Jer Noble.
Merge https://chromium.googlesource.com/chromium/blink/+/28a995486a675992f2e72f81bfabdfff05688a31.
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::createMediaControls): Add AttachLazily to appendChild().
2013-08-20 Daniel Bates <dabates@apple.com>
<https://webkit.org/b/120072> Use nullAtom instead of defining static local in
......@@ -4651,7 +4651,7 @@ bool HTMLMediaElement::createMediaControls()
if (isFullscreen())
mediaControls->enteredFullscreen();
ensureUserAgentShadowRoot().appendChild(mediaControls, ASSERT_NO_EXCEPTION);
ensureUserAgentShadowRoot().appendChild(mediaControls, ASSERT_NO_EXCEPTION, AttachLazily);
if (!controls() || !inDocument())
mediaControls->hide();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment