RESOLVED FIXED 224081
Add a macro to help staging logDiagnosticMessageWithDomain in Safari
https://bugs.webkit.org/show_bug.cgi?id=224081
Summary Add a macro to help staging logDiagnosticMessageWithDomain in Safari
Said Abou-Hallawa
Reported 2021-04-01 15:03:20 PDT
This macro will tell whether logDiagnosticMessageWithDomain and _WKDiagnosticLoggingDomain are defined or not. So checking macro will allow building the webkit clients with or without r275103.
Attachments
Patch (1.40 KB, patch)
2021-04-01 16:12 PDT, Said Abou-Hallawa
no flags
Said Abou-Hallawa
Comment 1 2021-04-01 16:12:46 PDT
Radar WebKit Bug Importer
Comment 2 2021-04-01 16:39:29 PDT
Wenson Hsieh
Comment 3 2021-04-01 17:07:45 PDT
Comment on attachment 424959 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=424959&action=review > Source/WebKit/UIProcess/API/Cocoa/_WKDiagnosticLoggingDelegate.h:30 > +#define HAS_DIAGNOSTIC_LOGGING_DOMAIN I think it's common practice to wrap these kinds of `#define`s in `#ifndef/#endif` (though I admittedly can't find many existing examples in WebKit to use as reference :/)
EWS
Comment 4 2021-04-01 22:00:38 PDT
Committed r275404: <https://commits.webkit.org/r275404> All reviewed patches have been landed. Closing bug and clearing flags on attachment 424959 [details].
Note You need to log in before you can comment on or make changes to this bug.