From f1a4010e76621778a173373569f17f76c8b25368 Mon Sep 17 00:00:00 2001 From: "caillon%returnzero.com" Date: Tue, 20 Jan 2004 22:56:21 +0000 Subject: [PATCH] This should be #ifdef DEBUG. r+sr=dbaron git-svn-id: svn://10.0.0.236/trunk@151603 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/extensions/layout-debug/src/nsLayoutDebuggingTools.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mozilla/extensions/layout-debug/src/nsLayoutDebuggingTools.cpp b/mozilla/extensions/layout-debug/src/nsLayoutDebuggingTools.cpp index 206e16f4cd6..f07fc89e482 100644 --- a/mozilla/extensions/layout-debug/src/nsLayoutDebuggingTools.cpp +++ b/mozilla/extensions/layout-debug/src/nsLayoutDebuggingTools.cpp @@ -468,6 +468,7 @@ static void DumpViewsRecur(nsIDocShell* aDocShell, FILE* out) { +#ifdef DEBUG if (aDocShell) { fprintf(out, "docshell=%p \n", NS_STATIC_CAST(void*, aDocShell)); nsCOMPtr vm(view_manager(aDocShell)); @@ -495,6 +496,7 @@ DumpViewsRecur(nsIDocShell* aDocShell, FILE* out) } } } +#endif // DEBUG } NS_IMETHODIMP