Changeset 140587 in webkit
- Timestamp:
- Jan 23, 2013, 2:13:54 PM (13 years ago)
- Location:
- tags/Safari-537.26.4/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/Safari-537.26.4/Source/WebCore/ChangeLog
r140179 r140587 1 2013-01-23 Lucas Forschler <lforschler@apple.com> 2 3 Merge r140481 4 5 2013-01-22 Alexey Proskuryakov <ap@apple.com> 6 7 [WK2] WebProcessService is not terminated when page is closed 8 https://bugs.webkit.org/show_bug.cgi?id=107595 9 10 Reviewed by Anders Carlsson. 11 12 * platform/mac/RunLoopMac.mm: (WebCore::RunLoop::stop): Allow stopping XPC service 13 run loop. Also, harmonized NSApp vs. [NSApplication sharedApplication] usage. 14 1 15 2013-01-18 Lucas Forschler <lforschler@apple.com> 2 16 -
tags/Safari-537.26.4/Source/WebCore/platform/mac/RunLoopMac.mm
r117018 r140587 46 46 { 47 47 ASSERT(m_runLoop == CFRunLoopGetCurrent()); 48 49 if (m_runLoop == main()->m_runLoop && m_nestingLevel == 1) { 50 [[NSApplication sharedApplication] stop:nil]; 48 // Nesting level can be 0 if the run loop is started externally (such as the case for XPC services). 49 if (m_runLoop == main()->m_runLoop && m_nestingLevel <= 1) { 50 ASSERT([NSApp isRunning]); 51 [NSApp stop:nil]; 51 52 NSEvent *event = [NSEvent otherEventWithType:NSApplicationDefined 52 53 location:NSMakePoint(0, 0)
Note:
See TracChangeset
for help on using the changeset viewer.