NEW197136
[WTF] Move PAL::registerNotifyCallback to WTF
https://bugs.webkit.org/show_bug.cgi?id=197136
Summary [WTF] Move PAL::registerNotifyCallback to WTF
Yusuke Suzuki
Reported 2019-04-20 01:12:43 PDT
I found that notify_register_dispatch is used in WTF and JSC too. We should have one wrapper around notify_register_dispatch in WTF (PAL::registerNotifyCallback thing) and use it everywhere in WebKit. It is nice since we can grep all the registrations with PAL::registerNotifyCallback.
Attachments
Yusuke Suzuki
Comment 1 2019-04-20 01:13:37 PDT
I was adding a callback for my debugging purpose of memory thing, and I noticed that WTF uses notify_register_dispatch, while PAL has PAL::registerNotifyCallback.
Note You need to log in before you can comment on or make changes to this bug.