Changeset 150372 in webkit


Ignore:
Timestamp:
May 20, 2013, 10:21:02 AM (12 years ago)
Author:
eric.carlson@apple.com
Message:

[iOS] media/event-queue-crash.html ASSERTs in notifyChildInserted
https://bugs.webkit.org/show_bug.cgi?id=116444

Reviewed by Jer Noble.

No new tests, covered by existing tests.

  • html/HTMLMediaElement.cpp:

(WebCore::HTMLMediaElement::configureMediaControls): Only create media controls when the

element is in a Document.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r150371 r150372  
     12013-05-20  Eric Carlson  <eric.carlson@apple.com>
     2
     3        [iOS] media/event-queue-crash.html ASSERTs in notifyChildInserted
     4        https://bugs.webkit.org/show_bug.cgi?id=116444
     5
     6        Reviewed by Jer Noble.
     7
     8        No new tests, covered by existing tests.
     9
     10        * html/HTMLMediaElement.cpp:
     11        (WebCore::HTMLMediaElement::configureMediaControls): Only create media controls when the
     12            element is in a Document.
     13
    1142013-05-20  Antoine Quint  <graouts@apple.com>
    215
  • trunk/Source/WebCore/html/HTMLMediaElement.cpp

    r150214 r150372  
    46184618    mediaControls()->show();
    46194619#else
    4620     if (!hasMediaControls())
    4621         createMediaControls();
    4622 
    46234620    if (m_player)
    46244621        m_player->setControls(controls());
     4622
     4623    if (!hasMediaControls() && inDocument())
     4624        createMediaControls();
    46254625#endif
    46264626}
Note: See TracChangeset for help on using the changeset viewer.