mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 827356 - make DOMWINDOW debugging messages use consistent addresses; r=bz
This commit is contained in:
parent
64710f99c4
commit
632a264083
@ -741,7 +741,8 @@ nsGlobalWindow::nsGlobalWindow(nsGlobalWindow *aOuterWindow)
|
||||
if (!PR_GetEnv("MOZ_QUIET")) {
|
||||
printf("++DOMWINDOW == %d (%p) [serial = %d] [outer = %p]\n", gRefCnt,
|
||||
static_cast<void*>(static_cast<nsIScriptGlobalObject*>(this)),
|
||||
gSerialCounter, static_cast<void*>(aOuterWindow));
|
||||
gSerialCounter,
|
||||
static_cast<void*>(static_cast<nsIScriptGlobalObject*>(aOuterWindow)));
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -816,9 +817,10 @@ nsGlobalWindow::~nsGlobalWindow()
|
||||
}
|
||||
}
|
||||
|
||||
nsGlobalWindow* outer = static_cast<nsGlobalWindow*>(mOuterWindow.get());
|
||||
printf("--DOMWINDOW == %d (%p) [serial = %d] [outer = %p] [url = %s]\n",
|
||||
gRefCnt, static_cast<void*>(static_cast<nsIScriptGlobalObject*>(this)),
|
||||
mSerial, static_cast<void*>(mOuterWindow.get()), url.get());
|
||||
mSerial, static_cast<void*>(static_cast<nsIScriptGlobalObject*>(outer)), url.get());
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user