From e1f3f66c5bcef0314441ea3d6f608ec8eeb2ab40 Mon Sep 17 00:00:00 2001 From: "cvshook%sicking.cc" Date: Tue, 7 Nov 2006 01:05:15 +0000 Subject: [PATCH] Bug 359657: Fix crash due to wrong signature in overload. Patch by bz. r/sr=sicking git-svn-id: svn://10.0.0.236/trunk@214838 18797224-902f-48f8-a5cc-f745e15eee43 --- .../content/html/document/src/nsHTMLContentSink.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/mozilla/content/html/document/src/nsHTMLContentSink.cpp b/mozilla/content/html/document/src/nsHTMLContentSink.cpp index a7ec86d8710..c3523e26bd0 100644 --- a/mozilla/content/html/document/src/nsHTMLContentSink.cpp +++ b/mozilla/content/html/document/src/nsHTMLContentSink.cpp @@ -273,10 +273,8 @@ public: NS_DECL_NSITIMERCALLBACK // nsIDocumentObserver - virtual void BeginUpdate(nsIDocument *aDocument, nsUpdateType aUpdateType, - PRUint32 aNestingLevel); - virtual void EndUpdate(nsIDocument *aDocument, nsUpdateType aUpdateType, - PRUint32 aNestingLevel); + virtual void BeginUpdate(nsIDocument *aDocument, nsUpdateType aUpdateType); + virtual void EndUpdate(nsIDocument *aDocument, nsUpdateType aUpdateType); #ifdef DEBUG // nsIDebugDumpContent @@ -3688,8 +3686,7 @@ HTMLContentSink::UpdateAllContexts() } void -HTMLContentSink::BeginUpdate(nsIDocument *aDocument, nsUpdateType aUpdateType, - PRUint32 aNestingLevel) +HTMLContentSink::BeginUpdate(nsIDocument *aDocument, nsUpdateType aUpdateType) { // If we're in a script and we didn't do the notification, // something else in the script processing caused the @@ -3715,8 +3712,7 @@ HTMLContentSink::BeginUpdate(nsIDocument *aDocument, nsUpdateType aUpdateType, } void -HTMLContentSink::EndUpdate(nsIDocument *aDocument, nsUpdateType aUpdateType, - PRUint32 aNestingLevel) +HTMLContentSink::EndUpdate(nsIDocument *aDocument, nsUpdateType aUpdateType) { // If we're in a script and we didn't do the notification, // something else in the script processing caused the