Index: webkit/plugins/npapi/webplugin_ime_win.cc |
diff --git a/webkit/plugins/npapi/webplugin_ime_win.cc b/webkit/plugins/npapi/webplugin_ime_win.cc |
index 31b82a43910c015f422f27dab0ed1eb7733d1ce1..10c528198b1968d70039ea3a22d431a3beff3905 100644 |
--- a/webkit/plugins/npapi/webplugin_ime_win.cc |
+++ b/webkit/plugins/npapi/webplugin_ime_win.cc |
@@ -4,6 +4,7 @@ |
#include "webkit/plugins/npapi/webplugin_ime_win.h" |
+#include <cstring> |
#include <string> |
#include <vector> |
@@ -33,6 +34,7 @@ WebPluginIMEWin::WebPluginIMEWin() |
support_ime_messages_(false), |
status_updated_(false), |
input_type_(1) { |
+ memset(result_clauses_, 0, sizeof(result_clauses_)); |
} |
WebPluginIMEWin::~WebPluginIMEWin() { |