From 2a31c6a8ddba0be5614ac77556463a7581a59feb Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Tue, 19 Mar 2013 22:20:16 -0400 Subject: [PATCH] Bug 852118 followup. Fix the layout debugger to fix bustage --- layout/tools/layout-debug/src/nsLayoutDebuggingTools.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/tools/layout-debug/src/nsLayoutDebuggingTools.cpp b/layout/tools/layout-debug/src/nsLayoutDebuggingTools.cpp index 4222dee9063..d8860030a6f 100644 --- a/layout/tools/layout-debug/src/nsLayoutDebuggingTools.cpp +++ b/layout/tools/layout-debug/src/nsLayoutDebuggingTools.cpp @@ -307,7 +307,7 @@ nsLayoutDebuggingTools::SetReflowCounts(bool aShow) static void DumpAWebShell(nsIDocShellTreeItem* aShellItem, FILE* out, int32_t aIndent) { - nsXPIDLString name; + nsString name; nsCOMPtr parent; int32_t i, n; @@ -315,7 +315,7 @@ static void DumpAWebShell(nsIDocShellTreeItem* aShellItem, FILE* out, int32_t aI fprintf(out, " "); fprintf(out, "%p '", static_cast(aShellItem)); - aShellItem->GetName(getter_Copies(name)); + aShellItem->GetName(name); aShellItem->GetSameTypeParent(getter_AddRefs(parent)); fputs(NS_LossyConvertUTF16toASCII(name).get(), out); fprintf(out, "' parent=%p <\n", static_cast(parent));