Bug 197136
| Summary: | [WTF] Move PAL::registerNotifyCallback to WTF | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> |
| Component: | Web Template Framework | Assignee: | Yusuke Suzuki <ysuzuki> |
| Status: | NEW | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Yusuke Suzuki
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Yusuke Suzuki
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.