backing out bug 827841 patch to fix comment

This commit is contained in:
Mike Habicher 2013-01-10 01:44:18 +01:00
parent 1eb68c0bc4
commit 3692f83bae

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.");