Changeset 90829 in webkit
- Timestamp:
- Jul 12, 2011, 11:13:41 AM (14 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r90820 r90829 1 2011-07-12 Andreas Kling <kling@webkit.org> 2 3 [Qt][WK2] QDesktopWebView crashes if resized without web process. 4 https://bugs.webkit.org/show_bug.cgi?id=64371 5 6 Reviewed by Benjamin Poulain. 7 8 * UIProcess/qt/QtWebPageProxy.cpp: 9 (QtWebPageProxy::paint): Remove an invalid assertion. The drawing 10 area may be null if the web process has crashed. 11 (QtWebPageProxy::setDrawingAreaSize): Fail silently if there is no 12 drawing area. 13 1 14 2011-07-12 Andreas Kling <kling@webkit.org> 2 15 -
trunk/Source/WebKit2/UIProcess/qt/QtWebPageProxy.cpp
r90820 r90829 468 468 void QtWebPageProxy::paint(QPainter* painter, QRect area) 469 469 { 470 ASSERT(m_webPageProxy->drawingArea());471 470 if (m_webPageProxy->isValid()) 472 471 paintContent(painter, area); … … 586 585 void QtWebPageProxy::setDrawingAreaSize(const QSize& size) 587 586 { 588 ASSERT(m_webPageProxy->drawingArea()); 587 if (!m_webPageProxy->drawingArea()) 588 return; 589 589 m_webPageProxy->drawingArea()->setSize(IntSize(size), IntSize()); 590 590 }
Note:
See TracChangeset
for help on using the changeset viewer.