Changeset 229178 in webkit
- Timestamp:
- Mar 2, 2018 9:48:06 AM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r229175 r229178 1 2018-03-02 Youenn Fablet <youenn@apple.com> 2 3 WebProcessProxy should handle its completion handler at destruction time 4 https://bugs.webkit.org/show_bug.cgi?id=183224 5 6 Reviewed by Brady Eidson. 7 8 * UIProcess/WebProcessProxy.cpp: 9 (WebKit::WebProcessProxy::~WebProcessProxy): 10 * UIProcess/WebProcessProxy.h: 11 1 12 2018-03-02 Brent Fulgham <bfulgham@apple.com> 2 13 -
trunk/Source/WebKit/UIProcess/WebProcessProxy.cpp
r228587 r229178 147 147 while (m_numberOfTimesSuddenTerminationWasDisabled-- > 0) 148 148 WebCore::enableSuddenTermination(); 149 150 for (auto& callback : m_localPortActivityCompletionHandlers.values()) 151 callback(MessagePortChannelProvider::HasActivity::No); 149 152 } 150 153 -
trunk/Source/WebKit/UIProcess/WebProcessProxy.h
r228587 r229178 328 328 329 329 HashSet<WebCore::MessagePortIdentifier> m_processEntangledPorts; 330 HashMap<uint64_t, CompletionHandler<void()>> m_messageBatchDeliveryCompletionHandlers;330 HashMap<uint64_t, Function<void()>> m_messageBatchDeliveryCompletionHandlers; 331 331 HashMap<uint64_t, CompletionHandler<void(WebCore::MessagePortChannelProvider::HasActivity)>> m_localPortActivityCompletionHandlers; 332 332 };
Note: See TracChangeset
for help on using the changeset viewer.