From 344b7992fcbf27b7bc006ee86966e196005ea10c Mon Sep 17 00:00:00 2001 From: "peterv%propagandism.org" Date: Thu, 16 Jun 2005 21:52:44 +0000 Subject: [PATCH] Trying to fix btek bustage. --- editor/libeditor/base/nsEditor.cpp | 2 +- editor/libeditor/base/nsEditor.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/editor/libeditor/base/nsEditor.cpp b/editor/libeditor/base/nsEditor.cpp index 9bdedbcaaf2..226a8293688 100644 --- a/editor/libeditor/base/nsEditor.cpp +++ b/editor/libeditor/base/nsEditor.cpp @@ -128,7 +128,7 @@ static PRBool gDontCareForIMEOnFocusPassword = PR_FALSE; // Value of "ime.password.onBlur.dontCare" static PRBool gDontCareForIMEOnBlurPassword = PR_FALSE; -nsIParserService* nsEditor::sParserService; +nsIParserService* sParserService; //--------------------------------------------------------------------------- // diff --git a/editor/libeditor/base/nsEditor.h b/editor/libeditor/base/nsEditor.h index 9bcf8839c2f..fba6cecb014 100644 --- a/editor/libeditor/base/nsEditor.h +++ b/editor/libeditor/base/nsEditor.h @@ -88,6 +88,9 @@ class nsISelectionController; class nsIDOMEventReceiver; class nsIParserService; +// Defined in nsEditor.cpp +extern nsIParserService *sParserService; + #define kMOZEditorBogusNodeAttr NS_LITERAL_STRING("_moz_editor_bogus_node") #define kMOZEditorBogusNodeValue NS_LITERAL_STRING("TRUE") @@ -587,8 +590,6 @@ public: protected: - static nsIParserService *sParserService; - PRUint32 mModCount; // number of modifications (for undo/redo stack) PRUint32 mFlags; // behavior flags. See nsPlaintextEditor.h for the flags we use.