Rather than having a copy of isNullFunctionPointer() in each source file that uses it, we can put it in a WTF header.
Created attachment 307241 [details] Patch for EWS
Created attachment 307244 [details] Patch for EWS
Created attachment 307250 [details] Move the function to wtf/darwin/WeakLinking.h
Not sure I picked the best place in WTF for this function.
Comment on attachment 307250 [details] Move the function to wtf/darwin/WeakLinking.h View in context: https://bugs.webkit.org/attachment.cgi?id=307250&action=review > Source/WTF/wtf/darwin/WeakLinking.h:27 > + Probably worth including <type_traits> to make this compile standalone.
Committed <https://trac.webkit.org/r215424>.