Bug 1461701: Remove nsUpdateType and UPDATE_CONTENT_MODEL. r=smaug
MozReview-Commit-ID: 33iBMZqnkAc
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user