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.