mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Back out previous logging patches (92791a422f0a and 5617c22ea9ac) for bug 469514.
This commit is contained in:
parent
c845651c78
commit
58c8aff7e0
@ -98,11 +98,6 @@ public:
|
||||
mTarget->Dispatch(this, NS_DISPATCH_NORMAL);
|
||||
if (NS_FAILED(rv)) {
|
||||
NS_WARNING("Dispatch failed");
|
||||
#ifdef DEBUG
|
||||
(void)fprintf(stdout,
|
||||
"### mTarget (%p) may not be accepting events!\n",
|
||||
mTarget.get());
|
||||
#endif
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
@ -182,11 +177,6 @@ public:
|
||||
mTarget->Dispatch(this, NS_DISPATCH_NORMAL);
|
||||
if (NS_FAILED(rv)) {
|
||||
NS_WARNING("PostEvent failed");
|
||||
#ifdef DEBUG
|
||||
(void)fprintf(stdout,
|
||||
"### mTarget (%p) may not be accepting events!\n",
|
||||
mTarget.get());
|
||||
#endif
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
|
@ -43,21 +43,6 @@
|
||||
#include "nsAutoPtr.h"
|
||||
#include "nsAutoLock.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
#include "nsStackWalk.h"
|
||||
|
||||
static void
|
||||
thread_stack_callback(void *aPC, void *)
|
||||
{
|
||||
char buf[1024];
|
||||
nsCodeAddressDetails details;
|
||||
|
||||
(void)NS_DescribeCodeAddress(aPC, &details);
|
||||
(void)NS_FormatCodeAddressDetails(aPC, &details, buf, sizeof(buf));
|
||||
(void)fprintf(stdout, buf);
|
||||
}
|
||||
#endif
|
||||
|
||||
typedef nsTArray< nsRefPtr<nsThread> > nsThreadArray;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
@ -247,11 +232,6 @@ nsThreadManager::NewThread(PRUint32 creationFlags, nsIThread **result)
|
||||
// At this point, we expect that the thread has been registered in mThread;
|
||||
// however, it is possible that it could have also been replaced by now, so
|
||||
// we cannot really assert that it was added.
|
||||
#ifdef DEBUG
|
||||
(void)fprintf(stdout, "### Creating thread with address %p\n", thr);
|
||||
(void)NS_StackWalk(thread_stack_callback, 0, nsnull);
|
||||
(void)fprintf(stdout, "\n\n");
|
||||
#endif
|
||||
|
||||
*result = thr;
|
||||
return NS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user