Changeset 61984 in webkit
- Timestamp:
- Jun 28, 2010 12:35:52 AM (14 years ago)
- Location:
- trunk/WebKit/qt
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/qt/Api/qgraphicswebview.cpp
r61254 r61984 152 152 { 153 153 #if ENABLE(TILED_BACKING_STORE) 154 if (!page) 155 return; 154 156 static_cast<PageClientQGraphicsWidget*>(page->d->client)->updateTiledBackingStoreScale(); 155 157 #endif -
trunk/WebKit/qt/ChangeLog
r61965 r61984 1 2010-06-28 Andreas Kling <andreas.kling@nokia.com> 2 3 Reviewed by Simon Hausmann. 4 5 [Qt] QGraphicsWebView crash when calling setScale() before setUrl() 6 https://bugs.webkit.org/show_bug.cgi?id=40000 7 8 Check 'page' before dereference in _q_scaleChanged() 9 Autotest included. 10 11 * Api/qgraphicswebview.cpp: 12 (QGraphicsWebViewPrivate::_q_scaleChanged): 13 * tests/qgraphicswebview/tst_qgraphicswebview.cpp: 14 (tst_QGraphicsWebView::crashOnSetScaleBeforeSetUrl): 15 1 16 2010-06-26 Simon Hausmann <hausmann@webkit.org> 2 17 -
trunk/WebKit/qt/tests/qgraphicswebview/tst_qgraphicswebview.cpp
r60958 r61984 35 35 void microFocusCoordinates(); 36 36 void focusInputTypes(); 37 void crashOnSetScaleBeforeSetUrl(); 37 38 }; 38 39 … … 133 134 } 134 135 136 void tst_QGraphicsWebView::crashOnSetScaleBeforeSetUrl() 137 { 138 QGraphicsWebView* webView = new QGraphicsWebView; 139 webView->setScale(2.0); 140 delete webView; 141 } 142 135 143 void tst_QGraphicsWebView::microFocusCoordinates() 136 144 {
Note: See TracChangeset
for help on using the changeset viewer.