backing out bug 827841 patch to fix comment

This commit is contained in:
Mike Habicher 2013-01-10 01:44:18 +01:00
parent 17b1014315
commit f53866e76a

View File

@ -117,7 +117,7 @@ public:
~nsMainThreadPtrHolder() {
if (NS_IsMainThread()) {
NS_IF_RELEASE(mRawPtr);
} else if (mRawPtr) {
} else {
nsCOMPtr<nsIThread> mainThread = do_GetMainThread();
if (!mainThread) {
NS_WARNING("Couldn't get main thread! Leaking pointer.");