diff options
author | asynts <asynts@gmail.com> | 2021-01-23 23:52:21 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-25 09:47:36 +0100 |
commit | bb483f7ef4693582d34aa7a30fa2916fdcc8b6f4 (patch) | |
tree | f3c5fe1ff819534ffd94abea15170fbfc07d44a5 /Userland/Libraries/LibWeb/WebContentClient.cpp | |
parent | acdcf59a333b0fe9a709ee53b2a82b26b346b747 (diff) | |
download | serenity-bb483f7ef4693582d34aa7a30fa2916fdcc8b6f4.zip |
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/' {} \;
Diffstat (limited to 'Userland/Libraries/LibWeb/WebContentClient.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/WebContentClient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/WebContentClient.cpp b/Userland/Libraries/LibWeb/WebContentClient.cpp index 4a4a56085d..22f818f5e2 100644 --- a/Userland/Libraries/LibWeb/WebContentClient.cpp +++ b/Userland/Libraries/LibWeb/WebContentClient.cpp @@ -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({}); |