Trigger layout after resizing the FrameView.
authorMichael BrĂ¼ning <michael.bruning@digia.com>
Wed, 13 Nov 2013 17:13:36 +0000 (18:13 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 16 Nov 2013 16:42:41 +0000 (17:42 +0100)
commit049fcfba58eb1a3e71859f27cbb6a8c62a99db02
tree427708ea738dff8f5fddd0fde2205ad43ecf6b53
parent8c7a7606acbb2083c8077cce57054f43744cb1c0
Trigger layout after resizing the FrameView.

There are problems with QGLWidget based web plugins due to the fact
that WebKit forces us to relayout during paint events, which in turn
might resize widgets, causing the shared backing store's QImages to
be corrupted and hence causing crashed.

This patch triggers a layout upon resizing the FrameView, which reduces
the likely hood of resizing plugins during a subsequent paintEvent.

Task-number: QTBUG-34277
Change-Id: Id35c72a3cc68ac6633a74fba0669c2d8fbfabc88
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Source/WebKit/qt/WebCoreSupport/QWebFrameAdapter.cpp