Changeset 84757 in webkit
- Timestamp:
- Apr 24, 2011 11:29:49 AM (13 years ago)
- Location:
- trunk/Source
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r84755 r84757 1 2011-04-24 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Maciej Stachowiak. 4 5 Manual test for <rdar://problem/9329741> Reproducible crash in WebChromeClient::invalidateContentsAndWindow() on simonscat.com 6 https://bugs.webkit.org/show_bug.cgi?id=59299 7 8 * manual-tests/back-from-document-with-scrollbar.html: Added. 9 1 10 2011-04-24 Rik Cabanier <cabanier@adobe.com> 2 11 -
trunk/Source/WebKit2/ChangeLog
r84751 r84757 1 2011-04-24 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Maciej Stachowiak. 4 5 <rdar://problem/9329741> Reproducible crash in WebChromeClient::invalidateContentsAndWindow() on simonscat.com 6 https://bugs.webkit.org/show_bug.cgi?id=59299 7 8 * WebProcess/WebCoreSupport/WebChromeClient.cpp: 9 (WebKit::WebChromeClient::invalidateContentsAndWindow): Null-check the document. 10 (WebKit::WebChromeClient::invalidateContentsForSlowScroll): Ditto. 11 1 12 2011-04-23 Sheriff Bot <webkit.review.bot@gmail.com> 2 13 -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp
r84702 r84757 357 357 void WebChromeClient::invalidateContentsAndWindow(const IntRect& rect, bool) 358 358 { 359 if (m_page->corePage()->mainFrame()->document()->printing()) 360 return; 359 if (Document* document = m_page->corePage()->mainFrame()->document()) { 360 if (document->printing()) 361 return; 362 } 363 361 364 m_page->drawingArea()->setNeedsDisplay(rect); 362 365 } … … 364 367 void WebChromeClient::invalidateContentsForSlowScroll(const IntRect& rect, bool) 365 368 { 366 if (m_page->corePage()->mainFrame()->document()->printing()) 367 return; 369 if (Document* document = m_page->corePage()->mainFrame()->document()) { 370 if (document->printing()) 371 return; 372 } 373 368 374 m_page->pageDidScroll(); 369 375 m_page->drawingArea()->setNeedsDisplay(rect);
Note: See TracChangeset
for help on using the changeset viewer.