-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[WPE][GTK][PlayStation] Remove unneeded WTFLogChannel::subsystem #47375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WPE][GTK][PlayStation] Remove unneeded WTFLogChannel::subsystem #47375
Conversation
EWS run on current version of this PR (hash aa607fd) |
It looks like it may be possible to remove the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense; the follow-up patch sounds like a good idea.
Aye, will do, follow-up |
https://bugs.webkit.org/show_bug.cgi?id=295202 Reviewed by Ross Kirsling. The WTFLogChannel::subsystem struct member always took the same value, from the LOG_CHANNEL_WEBKIT_SUBSYSTEM macro, therefore it is possible to remove the member and use the macro directly. This reduces the size of the WTFLogChannel struct without affecting the produced log messages, which avoids breaking tooling used to analyze logs. While at it, replace fprintf() usage with SAFE_FPRINTF() to keep the style checker happy. * Source/WTF/wtf/Assertions.h: * Source/WTF/wtf/Logger.h: (WTF::Logger::log): (WTF::Logger::logVerbose): Canonical link: https://commits.webkit.org/296858@main
aa607fd
to
3695ee5
Compare
Committed 296858@main (3695ee5): https://commits.webkit.org/296858@main Reviewed commits have been landed. Closing PR #47375 and removing active labels. |
3695ee5
aa607fd