Changeset 149989 in webkit
- Timestamp:
- May 12, 2013 11:40:52 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r149988 r149989 1 2013-05-12 Eric Carlson <eric.carlson@apple.com> 2 3 REGRESSION (r149749): Video becomes invisible when it starts playing at newyorkbygehry.com 4 https://bugs.webkit.org/show_bug.cgi?id=115963 5 6 Reviewed by Dean Jackson. 7 8 * media/video-remove-insert-repaints.html: Added. 9 * media/video-remove-insert-repaints-expected.txt: Added. 10 * platform/mac/media/video-remove-insert-repaints-expected.png: Added. 11 1 12 2013-05-12 Jinwoo Song <jinwoo7.song@samsung.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r149987 r149989 1 2013-05-12 Eric Carlson <eric.carlson@apple.com> 2 3 REGRESSION (r149749): Video becomes invisible when it starts playing at newyorkbygehry.com 4 https://bugs.webkit.org/show_bug.cgi?id=115963 5 6 Reviewed by Dean Jackson. 7 8 Test: media/video-remove-insert-repaints.html 9 10 * html/HTMLMediaElement.cpp: 11 (WebCore::HTMLMediaElement::insertedInto): Set m_inActiveDocument when inserted into a document. 12 (WebCore::HTMLMediaElement::removedFrom): Fix logging. 13 1 14 2013-05-12 David Kilzer <ddkilzer@apple.com> 2 15 -
trunk/Source/WebCore/html/HTMLMediaElement.cpp
r149906 r149989 579 579 { 580 580 LOG(Media, "HTMLMediaElement::insertedInto"); 581 581 582 HTMLElement::insertedInto(insertionPoint); 582 if (insertionPoint->inDocument() && !getAttribute(srcAttr).isEmpty() && m_networkState == NETWORK_EMPTY) 583 scheduleDelayedAction(LoadMediaResource); 583 if (insertionPoint->inDocument()) { 584 m_inActiveDocument = true; 585 586 if (m_networkState == NETWORK_EMPTY && !getAttribute(srcAttr).isEmpty()) 587 scheduleDelayedAction(LoadMediaResource); 588 } 589 584 590 configureMediaControls(); 585 591 return InsertionDone; … … 588 594 void HTMLMediaElement::removedFrom(ContainerNode* insertionPoint) 589 595 { 596 LOG(Media, "HTMLMediaElement::removedFrom"); 597 590 598 m_inActiveDocument = false; 591 592 599 if (insertionPoint->inDocument()) { 593 LOG(Media, "HTMLMediaElement::removedFrom");594 600 configureMediaControls(); 595 601 if (m_networkState > NETWORK_EMPTY)
Note: See TracChangeset
for help on using the changeset viewer.