mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 852118 followup. Fix the layout debugger to fix bustage
This commit is contained in:
parent
a4f13fb4aa
commit
2a31c6a8dd
@ -307,7 +307,7 @@ nsLayoutDebuggingTools::SetReflowCounts(bool aShow)
|
||||
|
||||
static void DumpAWebShell(nsIDocShellTreeItem* aShellItem, FILE* out, int32_t aIndent)
|
||||
{
|
||||
nsXPIDLString name;
|
||||
nsString name;
|
||||
nsCOMPtr<nsIDocShellTreeItem> 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<void*>(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<void*>(parent));
|
||||
|
Loading…
Reference in New Issue
Block a user