mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:47:45 +00:00
LibWeb: Convert a bunch of dbg() to dbgln()
This commit is contained in:
parent
4714b04d32
commit
0a3b834346
12 changed files with 31 additions and 38 deletions
|
@ -57,11 +57,22 @@ public:
|
|||
return !(*this == other);
|
||||
}
|
||||
|
||||
String to_string() const;
|
||||
|
||||
private:
|
||||
RefPtr<Node> m_node;
|
||||
unsigned m_offset { 0 };
|
||||
};
|
||||
|
||||
const LogStream& operator<<(const LogStream&, const Position&);
|
||||
}
|
||||
|
||||
namespace AK {
|
||||
template<>
|
||||
struct Formatter<Web::DOM::Position> : Formatter<StringView> {
|
||||
void format(FormatBuilder& builder, const Web::DOM::Position& value)
|
||||
{
|
||||
Formatter<StringView>::format(builder, value.to_string());
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue