Changeset 245310 in webkit
- Timestamp:
- May 14, 2019, 2:08:02 PM (7 years ago)
- Location:
- branches/safari-608.1.24-branch/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/WebProcessProxy.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-608.1.24-branch/Source/WebKit/ChangeLog
r245309 r245310 1 2019-05-14 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r245298. rdar://problem/50665984 4 5 Crash under WebKit::WebProcessProxy::didBecomeUnresponsive() 6 https://bugs.webkit.org/show_bug.cgi?id=197883 7 <rdar://problem/50665984> 8 9 Reviewed by Alex Christensen. 10 11 Protect |this| in didBecomeUnresponsive() and didExceedCPULimit() since we call client 12 delegates and those may cause |this| to get destroyed. 13 14 * UIProcess/WebProcessProxy.cpp: 15 (WebKit::WebProcessProxy::didBecomeUnresponsive): 16 (WebKit::WebProcessProxy::didExceedCPULimit): 17 18 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245298 268f45cc-cd09-0410-ab3c-d52691b4dbfc 19 20 2019-05-14 Chris Dumez <cdumez@apple.com> 21 22 Crash under WebKit::WebProcessProxy::didBecomeUnresponsive() 23 https://bugs.webkit.org/show_bug.cgi?id=197883 24 <rdar://problem/50665984> 25 26 Reviewed by Alex Christensen. 27 28 Protect |this| in didBecomeUnresponsive() and didExceedCPULimit() since we call client 29 delegates and those may cause |this| to get destroyed. 30 31 * UIProcess/WebProcessProxy.cpp: 32 (WebKit::WebProcessProxy::didBecomeUnresponsive): 33 (WebKit::WebProcessProxy::didExceedCPULimit): 34 1 35 2019-05-14 Alan Coon <alancoon@apple.com> 2 36 -
branches/safari-608.1.24-branch/Source/WebKit/UIProcess/WebProcessProxy.cpp
r244979 r245310 714 714 void WebProcessProxy::didBecomeUnresponsive() 715 715 { 716 auto protectedThis = makeRef(*this); 717 716 718 m_isResponsive = NoOrMaybe::No; 717 719 … … 1315 1317 void WebProcessProxy::didExceedCPULimit() 1316 1318 { 1319 auto protectedThis = makeRef(*this); 1320 1317 1321 for (auto& page : pages()) { 1318 1322 if (page->isPlayingAudio()) {
Note:
See TracChangeset
for help on using the changeset viewer.