[Qt] Fixes premature plugin unload bug
https://bugs.webkit.org/show_bug.cgi?id=66628 Patch by Lindsay Mathieson <lindsay.mathieson@gmail.com> on 2011-08-21 Reviewed by Benjamin Poulain. The QtPlatformPlugin was allocated on the stack, so its destructor is unloading the plugin at the end of the scope. This patch moves the local creation of QtPlatformPlugin to class member (TextCheckerClientQt::m_platformPlugin), preventing premature unloading of plugin. * WebCoreSupport/TextCheckerClientQt.cpp: (WebCore::TextCheckerClientQt::loadSpellChecker): * WebCoreSupport/TextCheckerClientQt.h: git-svn-id: svn://svn.chromium.org/blink/trunk@93490 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment