Handle PlatformPageClient not being set in Windows PluginView.
authorMichael BrĂ¼ning <michael.bruning@digia.com>
Tue, 10 Dec 2013 16:18:28 +0000 (17:18 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 11 Dec 2013 11:07:36 +0000 (12:07 +0100)
commit7122e75c83776f9e2fb67919971c883ebea000ae
treeb4ba95fba87fcc4ab8a4fb1850d27fd9dd184694
parent4ef1b438ba70b629655fe8e0eec0554968503f34
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>
Source/WebCore/plugins/win/PluginViewWin.cpp