TypeInState * nsTextEditor::GetTypeInState() { if (mTypeInState) { NS_ADDREF(mTypeInState); } return mTypeInState; }
TypeInState GetTypeInState() { return mTypeInState;}
TypeInState * nsTextEditor::GetTypeInState(){  if (mTypeInState) {    NS_ADDREF(mTypeInState);  }  return mTypeInState;}