Move logic from ChildProcess::setApplicationIsDaemon to NetworkProcess::initializeProcess
Created attachment 360155 [details] Patch
Comment on attachment 360155 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=360155&action=review > Source/WebKit/NetworkProcess/mac/NetworkProcessMac.mm:50 > +extern "C" OSStatus SetApplicationIsDaemon(Boolean isDaemon); This should be in an SPI header.
Created attachment 360178 [details] Patch
http://trac.webkit.org/r240520
<rdar://problem/47564877>
Comment on attachment 360178 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=360178&action=review > Source/WebKit/ChangeLog:8 > + This simplifies ChildProcess and removes NetworkProcess-specific code from this generic abstraction. The radar quoted as explanation of why this is needed in NetworkProcess is ancient. Iām guessing that we either need it in all child processes, or in none. Is it still doing anything useful in NetworkProcess? Does it even have a WindowServer connection before this call?