[Qt][WK2] API tests randomly asserts in QQuickWebPage::setContentsScale(qreal)
authorostapenko.viatcheslav@nokia.com <ostapenko.viatcheslav@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Jul 2012 15:34:54 +0000 (15:34 +0000)
committerostapenko.viatcheslav@nokia.com <ostapenko.viatcheslav@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Jul 2012 15:34:54 +0000 (15:34 +0000)
commit37ea0eabfcb0c780a4b12d2235687e82303defc8
treed9c4ef1f9e789e3ece21651c91ee6124cde6a8ad
parent0903047cb027ff6fa443d92157fed1ec9f323f72
[Qt][WK2] API tests randomly asserts in QQuickWebPage::setContentsScale(qreal)
https://bugs.webkit.org/show_bug.cgi?id=88679

Reviewed by Csaba Osztrogonác.

Viewport parameters cannot be calculated while viewport is not visible and
viewport size is 0, so let's delay calculation of viewport parameters until view
becomes visible.

* UIProcess/qt/QtViewportHandler.cpp:
(WebKit::QtViewportHandler::pageContentsSizeChanged):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121769 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/qt/QtViewportHandler.cpp