Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Unified Diff: webkit/plugins/npapi/webplugin_ime_win.cc

Issue 10830021: Coverity: Initialize member variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/controls/native_control_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « ui/views/controls/native_control_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698