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

Unified Diff: content/app/content_main_runner.cc

Issue 10830013: Coverity: Initialize member variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix 2. 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 | « no previous file | content/browser/renderer_host/render_widget_host_view_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/content_main_runner.cc
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index 8094ca46989ea0735e1cd00d75ef7fc2ad66348b..88a72e8d993d2d2fbd8db0972f7d526c4a4ece67 100644
--- a/content/app/content_main_runner.cc
+++ b/content/app/content_main_runner.cc
@@ -48,6 +48,7 @@
#endif
#if defined(OS_WIN)
+#include <cstring>
#include <atlbase.h>
#include <atlapp.h>
#include <malloc.h>
@@ -398,6 +399,9 @@ class ContentMainRunnerImpl : public ContentMainRunner {
is_shutdown_(false),
completed_basic_startup_(false),
delegate_(NULL) {
+#if defined(OS_WIN)
+ memset(&sandbox_info_, 0, sizeof(sandbox_info_));
+#endif
}
~ContentMainRunnerImpl() {
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698