Title: [121233] trunk/Source/WebKit2
- Revision
- 121233
- Author
- [email protected]
- Date
- 2012-06-26 00:24:03 -0700 (Tue, 26 Jun 2012)
Log Message
[WK2][GTK] Uninitialized variable in TextCheckerGtk.cpp
https://bugs.webkit.org/show_bug.cgi?id=89948
Patch by Christophe Dumez <[email protected]> on 2012-06-26
Reviewed by Martin Robinson.
Properly initialize didInitializeState in
TextChecker::state().
* UIProcess/gtk/TextCheckerGtk.cpp:
(WebKit::TextChecker::state):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (121232 => 121233)
--- trunk/Source/WebKit2/ChangeLog 2012-06-26 06:29:58 UTC (rev 121232)
+++ trunk/Source/WebKit2/ChangeLog 2012-06-26 07:24:03 UTC (rev 121233)
@@ -1,3 +1,16 @@
+2012-06-26 Christophe Dumez <[email protected]>
+
+ [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 <[email protected]>
[Qt] Make it possible to build WebKit without QtWidgets
Modified: trunk/Source/WebKit2/UIProcess/gtk/TextCheckerGtk.cpp (121232 => 121233)
--- trunk/Source/WebKit2/UIProcess/gtk/TextCheckerGtk.cpp 2012-06-26 06:29:58 UTC (rev 121232)
+++ trunk/Source/WebKit2/UIProcess/gtk/TextCheckerGtk.cpp 2012-06-26 07:24:03 UTC (rev 121233)
@@ -38,7 +38,7 @@
const TextCheckerState& TextChecker::state()
{
- static bool didInitializeState;
+ static bool didInitializeState = false;
if (didInitializeState)
return textCheckerState;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes