Changeset 171211 in webkit
- Timestamp:
- Jul 17, 2014 7:16:00 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r171209 r171211 1 2014-07-17 Alexey Proskuryakov <ap@apple.com> 2 3 REGRESSION (r171167): LoaderClient processDidCrash call is made after load state changes 4 https://bugs.webkit.org/show_bug.cgi?id=135032 5 <rdar://problem/17716602> 6 7 Reviewed by Dan Bernstein. 8 9 * UIProcess/WebPageProxy.cpp: 10 (WebKit::WebPageProxy::processDidCrash): Create a transaction, so that the nested 11 transaction in resetStateAfterProcessExited() wouldn't be committed. 12 (WebKit::WebPageProxy::resetStateAfterProcessExited): Don't use auto - it was hiding 13 the most important fact that this is a stack object that can't be simply moved to 14 a different function. 15 1 16 2014-07-17 Benjamin Poulain <bpoulain@apple.com> 2 17 -
trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp
r171191 r171211 4275 4275 ASSERT(m_isValid); 4276 4276 4277 // There is a nested transaction in resetStateAfterProcessExited() that we don't want to commit before the client call. 4278 PageLoadState::Transaction transaction = m_pageLoadState.transaction(); 4279 4277 4280 resetStateAfterProcessExited(); 4278 4281 … … 4432 4435 #endif 4433 4436 4434 autotransaction = m_pageLoadState.transaction();4437 PageLoadState::Transaction transaction = m_pageLoadState.transaction(); 4435 4438 m_pageLoadState.reset(transaction); 4436 4439 }
Note: See TracChangeset
for help on using the changeset viewer.