diff --git a/editor/base/TypeInState.h b/editor/base/TypeInState.h index 044b22e9f516..7953d86fdcfa 100644 --- a/editor/base/TypeInState.h +++ b/editor/base/TypeInState.h @@ -75,13 +75,6 @@ protected: #define NS_TYPEINSTATE_FONTSIZE 0x00000020 /* ----- inline method definitions ----- */ -inline -TypeInState::TypeInState() -{ - NS_INIT_REFCNT(); - Reset(); -}; - inline void TypeInState::Reset() { @@ -93,6 +86,13 @@ void TypeInState::Reset() mIsSet = 0; }; +inline +TypeInState::TypeInState() +{ + NS_INIT_REFCNT(); + Reset(); +}; + inline PRBool TypeInState::IsSet(PRUint32 aStyle) { diff --git a/editor/libeditor/html/TypeInState.h b/editor/libeditor/html/TypeInState.h index 044b22e9f516..7953d86fdcfa 100644 --- a/editor/libeditor/html/TypeInState.h +++ b/editor/libeditor/html/TypeInState.h @@ -75,13 +75,6 @@ protected: #define NS_TYPEINSTATE_FONTSIZE 0x00000020 /* ----- inline method definitions ----- */ -inline -TypeInState::TypeInState() -{ - NS_INIT_REFCNT(); - Reset(); -}; - inline void TypeInState::Reset() { @@ -93,6 +86,13 @@ void TypeInState::Reset() mIsSet = 0; }; +inline +TypeInState::TypeInState() +{ + NS_INIT_REFCNT(); + Reset(); +}; + inline PRBool TypeInState::IsSet(PRUint32 aStyle) {