Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[WK2][GTK] Uninitialized variable in TextCheckerGtk.cpp
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):

Canonical link: https://commits.webkit.org/107803@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@121233 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
cdumez authored and webkit-commit-queue committed Jun 26, 2012
1 parent 709a6f1 commit 8f83548
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions Source/WebKit2/ChangeLog
@@ -1,3 +1,16 @@
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
Expand Down
2 changes: 1 addition & 1 deletion Source/WebKit2/UIProcess/gtk/TextCheckerGtk.cpp
Expand Up @@ -38,7 +38,7 @@ static TextCheckerState textCheckerState;

const TextCheckerState& TextChecker::state()
{
static bool didInitializeState;
static bool didInitializeState = false;
if (didInitializeState)
return textCheckerState;

Expand Down

0 comments on commit 8f83548

Please sign in to comment.