Changeset 230633 in webkit


Ignore:
Timestamp:
Apr 13, 2018 9:17:44 AM (6 years ago)
Author:
Brent Fulgham
Message:

REGRESSION(r230468): Improper assertion firing under STP
<rdar://problem/39411676>

Unreviewed, rolling out an improper assertion.

I added an assertion in Bug 184322 that should not have been added. I did not notice that this
call stack was always used in builds where NSApp is still active. Builds where we stop relying
on AppKit runloops uses a different code path to shut down.

  • Shared/mac/ChildProcessMac.mm:

(WebKit::ChildProcess::stopNSAppRunLoop):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r230632 r230633  
     12018-04-13  Brent Fulgham  <bfulgham@apple.com>
     2
     3        REGRESSION(r230468): Improper assertion firing under STP
     4        <rdar://problem/39411676>
     5
     6        Unreviewed, rolling out an improper assertion.
     7
     8        I added an assertion in Bug 184322 that should not have been added. I did not notice that this
     9        call stack was always used in builds where NSApp is still active. Builds where we stop relying
     10        on AppKit runloops uses a different code path to shut down.
     11
     12        * Shared/mac/ChildProcessMac.mm:
     13        (WebKit::ChildProcess::stopNSAppRunLoop):
     14
    1152018-04-12  Antoine Quint  <graouts@apple.com>
    216
  • trunk/Source/WebKit/Shared/mac/ChildProcessMac.mm

    r230468 r230633  
    3939#import <stdlib.h>
    4040#import <sysexits.h>
    41 #import <wtf/ProcessPrivilege.h>
    4241#import <wtf/Scope.h>
    4342#import <wtf/spi/darwin/SandboxSPI.h>
     
    207206{
    208207    ASSERT([NSApp isRunning]);
    209     RELEASE_ASSERT(hasProcessPrivilege(ProcessPrivilege::CanCommunicateWithWindowServer));
    210208    [NSApp stop:nil];
    211209
Note: See TracChangeset for help on using the changeset viewer.