Changeset 246377 in webkit
- Timestamp:
- Jun 12, 2019, 3:20:47 PM (7 years ago)
- Location:
- branches/safari-607-branch/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/WebProcessProxy.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-607-branch/Source/WebKit/ChangeLog
r246376 r246377 1 2019-06-12 Null <null@apple.com> 2 3 Cherry-pick r245298. rdar://problem/51656613 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-06-12 Null <null@apple.com> 2 36 -
branches/safari-607-branch/Source/WebKit/UIProcess/WebProcessProxy.cpp
r245931 r246377 834 834 void WebProcessProxy::didBecomeUnresponsive() 835 835 { 836 auto protectedThis = makeRef(*this); 837 836 838 m_isResponsive = NoOrMaybe::No; 837 839 … … 1409 1411 void WebProcessProxy::didExceedCPULimit() 1410 1412 { 1413 auto protectedThis = makeRef(*this); 1414 1411 1415 for (auto& page : pages()) { 1412 1416 if (page->isPlayingAudio()) {
Note:
See TracChangeset
for help on using the changeset viewer.