Fix bustage from bug 795707 landing, change nullptr to nsnull as required on this branch. a=bustage-fix
authorMark Banner <bugzilla@standard8.plus.com>
Mon, 01 Oct 2012 22:13:01 +0100
changeset 13034 56fb563db4b22f9c9ad3712ead901ce2e68a976a
parent 13033 b405050a39c2be458d160980b3f350f8bc5aa824
child 13035 57c3eb20deb1c6980395fac22c91d586c2fd3663
push idunknown
push userunknown
push dateunknown
reviewersbustage-fix
bugs795707
Fix bustage from bug 795707 landing, change nullptr to nsnull as required on this branch. a=bustage-fix
mailnews/mime/cthandlers/pgpmime/nsPgpMimeProxy.cpp
--- a/mailnews/mime/cthandlers/pgpmime/nsPgpMimeProxy.cpp
+++ b/mailnews/mime/cthandlers/pgpmime/nsPgpMimeProxy.cpp
@@ -274,17 +274,17 @@ nsPgpMimeProxy::Init()
 
   nsresult rv;
   nsCOMPtr<nsIPrefBranch> pbi(do_GetService(NS_PREFSERVICE_CONTRACTID, &rv));
   if (NS_FAILED(rv))
     return rv;
 
   mDecryptor = do_CreateInstance(PGPMIME_JS_DECRYPTOR_CONTRACTID, &rv);
   if (NS_FAILED(rv))
-    mDecryptor = nullptr;
+    mDecryptor = nsnull;
 
   return NS_OK;
 }
 
 NS_IMETHODIMP
 nsPgpMimeProxy::Write(const char *buf, PRUint32 buf_size)
 {
   NS_ENSURE_TRUE(mInitialized, NS_ERROR_NOT_INITIALIZED);