mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 974749 - Make nsFrame::DumpFrameTree wrapper functions use stderr so they can go to logcat. r=tn
This commit is contained in:
parent
c7bc193ea6
commit
61ef845297
@ -5249,12 +5249,12 @@ int32_t nsFrame::ContentIndexInContainer(const nsIFrame* aFrame)
|
||||
}
|
||||
|
||||
/**
|
||||
* List a frame tree to stdout. Meant to be called from gdb.
|
||||
* List a frame tree to stderr. Meant to be called from gdb.
|
||||
*/
|
||||
void
|
||||
DebugListFrameTree(nsIFrame* aFrame)
|
||||
{
|
||||
((nsFrame*)aFrame)->List(stdout);
|
||||
((nsFrame*)aFrame)->List(stderr);
|
||||
}
|
||||
|
||||
void
|
||||
@ -5384,13 +5384,13 @@ nsFrame::MakeFrameName(const nsAString& aType, nsAString& aResult) const
|
||||
void
|
||||
nsIFrame::DumpFrameTree()
|
||||
{
|
||||
RootFrameList(PresContext(), stdout);
|
||||
RootFrameList(PresContext(), stderr);
|
||||
}
|
||||
|
||||
void
|
||||
nsIFrame::DumpFrameTreeLimited()
|
||||
{
|
||||
List(stdout);
|
||||
List(stderr);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user