https://bugs.webkit.org/show_bug.cgi?id=89948
Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-06-26
Reviewed by Martin Robinson.
Properly initialize didInitializeState in
TextChecker::state().
* UIProcess/gtk/TextCheckerGtk.cpp:
(WebKit::TextChecker::state):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121233
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-06-26 Christophe Dumez <christophe.dumez@intel.com>
+
+ [WK2][GTK] Uninitialized variable in TextCheckerGtk.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=89948
+
+ Reviewed by Martin Robinson.
+
+ Properly initialize didInitializeState in
+ TextChecker::state().
+
+ * UIProcess/gtk/TextCheckerGtk.cpp:
+ (WebKit::TextChecker::state):
+
2012-06-25 Simon Hausmann <simon.hausmann@nokia.com>
[Qt] Make it possible to build WebKit without QtWidgets
const TextCheckerState& TextChecker::state()
{
- static bool didInitializeState;
+ static bool didInitializeState = false;
if (didInitializeState)
return textCheckerState;