Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky

MozReview-Commit-ID: D3fIngSHSsl
This commit is contained in:
Cameron McCormack
2017-01-05 15:31:56 +08:00
parent a35ad172e6
commit 5f9911da79
91 changed files with 289 additions and 277 deletions

View File

@@ -587,7 +587,7 @@ HTMLFormElement::DoSubmitOrReset(WidgetEvent* aEvent,
// Make sure the presentation is up-to-date
nsIDocument* doc = GetComposedDoc();
if (doc) {
doc->FlushPendingNotifications(Flush_ContentAndNotify);
doc->FlushPendingNotifications(FlushType::ContentAndNotify);
}
// JBK Don't get form frames anymore - bug 34297