Bug 1461701: Remove nsUpdateType and UPDATE_CONTENT_MODEL. r=smaug

MozReview-Commit-ID: 33iBMZqnkAc
This commit is contained in:
Emilio Cobos Álvarez
2018-05-15 15:56:38 +02:00
parent 2eb6c582d6
commit 967e0989f6
25 changed files with 65 additions and 100 deletions

View File

@@ -63,14 +63,14 @@ public:
mDocument = nullptr;
} else {
mDocument = aCurrentDoc;
aCurrentDoc->BeginUpdate(UPDATE_CONTENT_MODEL);
aCurrentDoc->BeginUpdate();
}
}
~nsHtml5OtherDocUpdate()
{
if (MOZ_UNLIKELY(mDocument)) {
mDocument->EndUpdate(UPDATE_CONTENT_MODEL);
mDocument->EndUpdate();
}
}