Bug 1375075 - Remove a FlushPendingNotifications that we don't need anymore. r=cpearce
The code that needed it was removed in bug 1325053. MozReview-Commit-ID: 8P60SOpqyPq
This commit is contained in:
@@ -2272,11 +2272,6 @@ void HTMLMediaElement::LoadFromSourceChildren()
|
||||
NS_ASSERTION(mIsLoadingFromSourceChildren,
|
||||
"Must remember we're loading from source children");
|
||||
|
||||
nsIDocument* parentDoc = OwnerDoc()->GetParentDocument();
|
||||
if (parentDoc) {
|
||||
parentDoc->FlushPendingNotifications(FlushType::Layout);
|
||||
}
|
||||
|
||||
AddMutationObserverUnlessExists(this);
|
||||
|
||||
while (true) {
|
||||
|
||||
Reference in New Issue
Block a user