mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1195672 - Add |nsAutoCString nsIFrame::ListTag()| for debugging. f=mtseng, r=roc
This make it easier to print a frame tag name in one debug log line.
This commit is contained in:
parent
df49e88fd2
commit
f6d8e741db
@ -34,6 +34,7 @@
|
||||
#include "nsITheme.h"
|
||||
#include "nsLayoutUtils.h"
|
||||
#include "nsQueryFrame.h"
|
||||
#include "nsStringGlue.h"
|
||||
#include "nsStyleContext.h"
|
||||
#include "nsStyleStruct.h"
|
||||
|
||||
@ -3225,6 +3226,11 @@ public:
|
||||
fputs(t.get(), out);
|
||||
}
|
||||
void ListTag(nsACString& aTo) const;
|
||||
nsAutoCString ListTag() const {
|
||||
nsAutoCString tag;
|
||||
ListTag(tag);
|
||||
return tag;
|
||||
}
|
||||
static void ListTag(nsACString& aTo, const nsIFrame* aFrame);
|
||||
void ListGeneric(nsACString& aTo, const char* aPrefix = "", uint32_t aFlags = 0) const;
|
||||
enum {
|
||||
|
Loading…
Reference in New Issue
Block a user