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:
Mats Palmgren
2017-06-23 02:03:09 +02:00
parent a37c7c4e08
commit ad8f480b5c

View File

@@ -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) {