mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
backing out bug 827841 patch to fix comment
This commit is contained in:
parent
1eb68c0bc4
commit
3692f83bae
@ -117,7 +117,7 @@ public:
|
|||||||
~nsMainThreadPtrHolder() {
|
~nsMainThreadPtrHolder() {
|
||||||
if (NS_IsMainThread()) {
|
if (NS_IsMainThread()) {
|
||||||
NS_IF_RELEASE(mRawPtr);
|
NS_IF_RELEASE(mRawPtr);
|
||||||
} else if (mRawPtr) {
|
} else {
|
||||||
nsCOMPtr<nsIThread> mainThread = do_GetMainThread();
|
nsCOMPtr<nsIThread> mainThread = do_GetMainThread();
|
||||||
if (!mainThread) {
|
if (!mainThread) {
|
||||||
NS_WARNING("Couldn't get main thread! Leaking pointer.");
|
NS_WARNING("Couldn't get main thread! Leaking pointer.");
|
||||||
|
Loading…
Reference in New Issue
Block a user