Fix crash on exit of Google Maps

QtWebKit may crash when exiting the new WebGL version of Google maps.

The problem is that under some circumstances the PlatformLayer is destroyed
before the GraphicsLayer that reference it, causing the GraphicsLayer to
access it during destruction.

Change-Id: Ia3d0f337dcb9b8b38e9e23f53bea669bd868f713
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Remove superfluous assert from WebKitQmlPlugin::initializeEngine

The uri parameter is unused in this method and the ones called by it,
so it should not be asserted on.

Task-number: QTBUG-34066
Change-Id: I184fbad3e6e3d4786b4cc4e9f768f1c006309295
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Do not force SSE2 instructions on i386 builds

To have consistent rendering between x86 and x64 builds QtWebKit enables
SSE2 math on x86. This however raises the minimum requirements of the x86
binaries and should be disabled in Qt builds.

Change-Id: If57ff0a3c9cd0a91a508ba02fda8b596381262a8
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Doc: Update WebView code sample on Qt WebKit landing page

Replace obsolete 'Page' QML type used in the sample code
with 'ScrollView' from Qt Quick Controls.

Task-number: QTBUG-35154
Change-Id: I0a16a6158be028bf8a7975240411841c4e8200ef
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: I21c9fc2f8a0da8410b168f5582849208f188f325
Handle PlatformPageClient not being set in Windows PluginView.

The helper contentsToNativeWindow assumed that the PlatformPageClient
would always be set, which caused problems with plugin content in head-
less client applications such as CutyCapt.

Task-number: QTBUG-35224
Change-Id: Iadce5fb62bd45dd0d1b15e0d7918cfbbff1b3fae
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Apply size constraints for direct compositing also to background images.

The fact that this was not done before led to a failed WebKit assertion
in the UIProcess which caused any WebView application loading pages
with large background images (e.g. flickr.com) to crash on Windows.

Task-number: QTBUG-35208
Change-Id: Ieae76e19fc08483cbd038a7c14e06b4bd12dd681
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Fix scroll-bar behavior in RTL layout

Default to application layout direction when no widget is given,
and reverse meaning of position for horizontal RTL scrollbars.

Task-numer: QTBUG-28256
Change-Id: I09c49f5d104fd0b9a6b4b1cda5c754712fc26087
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Revert "[EFL][WK2] Never create WebCore scrollbars for EFL/WK2"

This reverts commit 373d3d52252ea44fdd5d17635459d18d3d4b3e94.

Allow FrameViews to have hidden Scrollbars. This fixes key event scrolling
in fixed layout mode.

Task-number: QTBUG-34203
Change-Id: Idf157d51e01ba4d831e62d1e24f7283030c8e177
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Merge remote-tracking branch 'origin/release' into stable

Change-Id: Ia8a8683d649f27498c77f5b1932dcf1aef46bb04
Merge "Merge remote-tracking branch 'origin/release' into stable" into refs/staging/stable
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: Ic22a6afb0f21d6b716e17cf11d33e56fa873880e