Changeset 88953 in webkit
- Timestamp:
- Jun 15, 2011 10:12:59 AM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r88944 r88953 1 2011-06-15 Anders Carlsson <andersca@apple.com> 2 3 Reviewed by Dan Bernstein. 4 5 Ignore responsiveness timer callbacks on closed pages 6 https://bugs.webkit.org/show_bug.cgi?id=62735 7 <rdar://problem/9511295> 8 9 * UIProcess/WebPageProxy.cpp: 10 (WebKit::WebPageProxy::close): 11 Use nullptr instead of clear. 12 13 (WebKit::WebPageProxy::processDidBecomeUnresponsive): 14 Return early if the page isn't valid. 15 16 (WebKit::WebPageProxy::processDidBecomeResponsive): 17 Ditto. 18 19 (WebKit::WebPageProxy::updateBackingStoreDiscardableState): 20 Assert that the page is valid. 21 1 22 2011-06-15 Sheriff Bot <webkit.review.bot@gmail.com> 2 23 -
trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp
r88839 r88953 379 379 m_uiClient.initialize(0); 380 380 381 m_drawingArea .clear();381 m_drawingArea = nullptr; 382 382 383 383 process()->send(Messages::WebPage::Close(), m_pageID); … … 2866 2866 void WebPageProxy::processDidBecomeUnresponsive() 2867 2867 { 2868 if (!isValid()) 2869 return; 2870 2868 2871 updateBackingStoreDiscardableState(); 2869 2872 … … 2873 2876 void WebPageProxy::processDidBecomeResponsive() 2874 2877 { 2878 if (!isValid()) 2879 return; 2880 2875 2881 updateBackingStoreDiscardableState(); 2876 2882 … … 3192 3198 void WebPageProxy::updateBackingStoreDiscardableState() 3193 3199 { 3200 ASSERT(isValid()); 3201 3194 3202 bool isDiscardable; 3195 3203
Note: See TracChangeset
for help on using the changeset viewer.