Bug 612201 - nsMessenger::mScriptObject is not used; r=bienvenu
authorBoying Lu <brian.lu@oracle.com>
Thu, 18 Nov 2010 13:38:40 +0000
changeset 6713 703c6fba35bfbddd388c6c099458beed87c2901f
parent 6712 9a268939f29cbb223900a3d73b770e0b60e5143b
child 6714 fdff425a73eeddd20fed47b2cf1508859d005421
push id5158
push userbugzilla@standard8.plus.com
push dateThu, 18 Nov 2010 13:42:21 +0000
treeherdercomm-central@fdff425a73ee [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbienvenu
bugs612201
Bug 612201 - nsMessenger::mScriptObject is not used; r=bienvenu
mailnews/base/src/nsMessenger.cpp
mailnews/base/src/nsMessenger.h
--- a/mailnews/base/src/nsMessenger.cpp
+++ b/mailnews/base/src/nsMessenger.cpp
@@ -295,17 +295,16 @@ public:
   nsCStringArray m_savedFiles; // if detaching first, remember where we saved to.
 };
 
 //
 // nsMessenger
 //
 nsMessenger::nsMessenger()
 {
-  mScriptObject = nsnull;
   mCurHistoryPos = -2; // first message selected goes at position 0.
   //  InitializeFolderRoot();
 }
 
 nsMessenger::~nsMessenger()
 {
   // Release search context.
   mSearchContext = nsnull;
--- a/mailnews/base/src/nsMessenger.h
+++ b/mailnews/base/src/nsMessenger.h
@@ -103,17 +103,16 @@ private:
   nsresult GetSaveAsFile(const nsAString& aMsgFilename, PRInt32 *aSaveAsFileType,
                          nsILocalFile **aSaveAsFile);
 
   nsresult GetSaveToDir(nsILocalFile **aSaveToDir);
 
   nsresult SetDisplayProperties();
 
   nsString mId;
-  void *mScriptObject;
   nsCOMPtr<nsITransactionManager> mTxnMgr;
 
   /* rhp - need this to drive message display */
   nsCOMPtr<nsIDOMWindow>    mWindow;
   nsCOMPtr<nsIMsgWindow>    mMsgWindow;
   nsCOMPtr<nsIDocShell>     mDocShell;
 
   // String bundles...