mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 12:49:08 +00:00
Everywhere: Replace a bundle of dbg with dbgln.
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
*/
|
||||
|
||||
#include <AK/ByteBuffer.h>
|
||||
#include <AK/Debug.h>
|
||||
#include <AK/URL.h>
|
||||
#include <LibCore/File.h>
|
||||
#include <LibWeb/CSS/Parser/CSSParser.h>
|
||||
@@ -61,11 +62,11 @@ void HTMLLinkElement::resource_did_load()
|
||||
if (!resource()->has_encoded_data())
|
||||
return;
|
||||
|
||||
dbg() << "HTMLLinkElement: Resource did load, looks good! " << href();
|
||||
dbgln("HTMLLinkElement: Resource did load, looks good! {}", href());
|
||||
|
||||
auto sheet = parse_css(CSS::ParsingContext(document()), resource()->encoded_data());
|
||||
if (!sheet) {
|
||||
dbg() << "HTMLLinkElement: Failed to parse stylesheet: " << href();
|
||||
dbgln("HTMLLinkElement: Failed to parse stylesheet: {}", href());
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user