2010-08-20 Andreas Kling <andreas.kling@nokia.com>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Initialize GDK before loading plugins
https://bugs.webkit.org/show_bug.cgi?id=44324
Attempt to call gdk_init_check() before loading any plugins.
This prevents various crashes and freezes in Adobe's Flash plugin.
* plugins/qt/PluginPackageQt.cpp:
(WebCore::initializeGdkIfPossible):
(WebCore::PluginPackage::load):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65728
268f45cc-cd09-0410-ab3c-
d52691b4dbfc