RESOLVED FIXED 180561
Move Logger from PAL to WTF so it can be used outside of WebCore
https://bugs.webkit.org/show_bug.cgi?id=180561
Summary Move Logger from PAL to WTF so it can be used outside of WebCore
Eric Carlson
Reported 2017-12-07 17:31:58 PST
Move Logger from PAL to WTF so it can be used outside of WebCore
Attachments
Proposed patch. (63.02 KB, patch)
2017-12-07 17:40 PST, Eric Carlson
no flags
Updated patch. (64.34 KB, patch)
2017-12-07 18:14 PST, Eric Carlson
achristensen: review+
achristensen: commit-queue-
Patch for landing (64.20 KB, patch)
2017-12-08 10:11 PST, Eric Carlson
no flags
Radar WebKit Bug Importer
Comment 1 2017-12-07 17:33:26 PST
Eric Carlson
Comment 2 2017-12-07 17:40:44 PST
Created attachment 328763 [details] Proposed patch.
EWS Watchlist
Comment 3 2017-12-07 17:42:02 PST
Attachment 328763 [details] did not pass style-queue: ERROR: Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.h:35: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/ChangeLog:8: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] Total errors found: 2 in 33 files If any of these errors are false positives, please file a bug against check-webkit-style.
Eric Carlson
Comment 4 2017-12-07 18:14:45 PST
Created attachment 328768 [details] Updated patch.
Alex Christensen
Comment 5 2017-12-07 19:02:55 PST
Comment on attachment 328768 [details] Updated patch. View in context: https://bugs.webkit.org/attachment.cgi?id=328768&action=review r=me with comments > Source/WTF/wtf/Logger.h:224 > +} // namespace PAL This should be namespace WTF > Source/WebCore/html/track/TrackBase.cpp:38 > +using namespace WTF; Many WTF header files end with using WTF::Something; Let's do that instead of this. Then we can also replace the WTF::Logger with Logger
Eric Carlson
Comment 6 2017-12-08 10:10:28 PST
Comment on attachment 328768 [details] Updated patch. View in context: https://bugs.webkit.org/attachment.cgi?id=328768&action=review >> Source/WTF/wtf/Logger.h:224 >> +} // namespace WTF > > This should be namespace WTF It is :-) >> Source/WebCore/html/track/TrackBase.cpp:38 >> +using namespace WTF; > > Many WTF header files end with using WTF::Something; > Let's do that instead of this. > Then we can also replace the WTF::Logger with Logger Good idea, thanks!
Eric Carlson
Comment 7 2017-12-08 10:11:43 PST
Created attachment 328827 [details] Patch for landing
WebKit Commit Bot
Comment 8 2017-12-08 12:33:57 PST
Comment on attachment 328827 [details] Patch for landing Clearing flags on attachment: 328827 Committed r225696: <https://trac.webkit.org/changeset/225696>
Note You need to log in before you can comment on or make changes to this bug.