Changeset 158872 in webkit
- Timestamp:
- Nov 7, 2013 1:54:36 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r158863 r158872 1 2013-11-07 Anders Carlsson <andersca@apple.com> 2 3 Don't repaint the view when the web process crashes 4 https://bugs.webkit.org/show_bug.cgi?id=124013 5 6 Reviewed by Dan Bernstein. 7 8 It's up to each individual port to decide whether the view should be repainted when the web process crashes. 9 10 * UIProcess/API/mac/PageClientImpl.mm: 11 (WebKit::PageClientImpl::setViewNeedsDisplay): 12 (WebKit::PageClientImpl::displayView): 13 * UIProcess/WebPageProxy.cpp: 14 (WebKit::WebPageProxy::resetStateAfterProcessExited): 15 1 16 2013-11-07 Tamas Gergely <gertom@inf.u-szeged.hu> 2 17 -
trunk/Source/WebKit2/UIProcess/API/mac/PageClientImpl.mm
r158759 r158872 141 141 void PageClientImpl::setViewNeedsDisplay(const WebCore::IntRect& rect) 142 142 { 143 [m_wkView setNeedsDisplayInRect:rect];143 ASSERT_NOT_REACHED(); 144 144 } 145 145 146 146 void PageClientImpl::displayView() 147 147 { 148 [m_wkView displayIfNeeded];148 ASSERT_NOT_REACHED(); 149 149 } 150 150 -
trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp
r158775 r158872 3797 3797 m_pendingLearnOrIgnoreWordMessageCount = 0; 3798 3798 3799 // If the call out to the loader client didn't cause the web process to be relaunched,3800 // we'll call setNeedsDisplay on the view so that we won't have the old contents showing.3801 // If the call did cause the web process to be relaunched, we'll keep the old page contents showing3802 // until the new web process has painted its contents.3803 setViewNeedsDisplay(IntRect(IntPoint(), viewSize()));3804 3805 3799 // Can't expect DidReceiveEvent notifications from a crashed web process. 3806 3800 m_keyEventQueue.clear();
Note: See TracChangeset
for help on using the changeset viewer.