зеркало из https://github.com/mozilla/pjs.git
Followup for bug 510651 to make non-debug builds with --enable-extensions=layout-debug build.
This commit is contained in:
Родитель
c51488146f
Коммит
1f0eeed375
|
@ -428,6 +428,7 @@ nsLayoutDebuggingTools::DumpContent()
|
||||||
static void
|
static void
|
||||||
DumpFramesRecur(nsIDocShell* aDocShell, FILE* out)
|
DumpFramesRecur(nsIDocShell* aDocShell, FILE* out)
|
||||||
{
|
{
|
||||||
|
#ifdef DEBUG
|
||||||
fprintf(out, "webshell=%p \n", static_cast<void*>(aDocShell));
|
fprintf(out, "webshell=%p \n", static_cast<void*>(aDocShell));
|
||||||
nsCOMPtr<nsIPresShell> shell(pres_shell(aDocShell));
|
nsCOMPtr<nsIPresShell> shell(pres_shell(aDocShell));
|
||||||
if (shell) {
|
if (shell) {
|
||||||
|
@ -452,6 +453,7 @@ DumpFramesRecur(nsIDocShell* aDocShell, FILE* out)
|
||||||
DumpFramesRecur(childAsShell, out);
|
DumpFramesRecur(childAsShell, out);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
|
|
Загрузка…
Ссылка в новой задаче