mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +00:00
Everywhere: Name debug macros more consistently.
Personally, I prefer the naming convention DEBUG_FOO over FOO_DEBUG, but
the majority of the debug macros are already named in the latter naming
convention, so I just enforce consistency here.
This was done with the following script:
find . \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -not -path './Toolchain/*' -not -path './Build/*' -exec sed -i -E 's/DEBUG_PATH/PATH_DEBUG/' {} \;
This commit is contained in:
@@ -64,7 +64,7 @@ void WebContentClient::handle(const Messages::WebContentClient::DidInvalidateCon
|
||||
|
||||
void WebContentClient::handle(const Messages::WebContentClient::DidChangeSelection&)
|
||||
{
|
||||
#if DEBUG_SPAM
|
||||
#if SPAM_DEBUG
|
||||
dbgln("handle: WebContentClient::DidChangeSelection!");
|
||||
#endif
|
||||
m_view.notify_server_did_change_selection({});
|
||||
@@ -96,7 +96,7 @@ void WebContentClient::handle(const Messages::WebContentClient::DidHoverLink& me
|
||||
|
||||
void WebContentClient::handle(const Messages::WebContentClient::DidUnhoverLink&)
|
||||
{
|
||||
#if DEBUG_SPAM
|
||||
#if SPAM_DEBUG
|
||||
dbgln("handle: WebContentClient::DidUnhoverLink!");
|
||||
#endif
|
||||
m_view.notify_server_did_unhover_link({});
|
||||
|
||||
Reference in New Issue
Block a user