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