summaryrefslogtreecommitdiffstats
path: root/content/app
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-25 22:20:25 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-25 22:20:25 +0000
commitf80131d42832cf64032bbb855c6bda0f7ea3bc73 (patch)
tree50d14dac403e92618f348e2c9fb59a0abcbfb52e /content/app
parent1c2e0c4340d1fabdc5a9c1479198019e6698ea10 (diff)
downloadchromium_src-f80131d42832cf64032bbb855c6bda0f7ea3bc73.zip
chromium_src-f80131d42832cf64032bbb855c6bda0f7ea3bc73.tar.gz
chromium_src-f80131d42832cf64032bbb855c6bda0f7ea3bc73.tar.bz2
Coverity: Initialize member variables.
CID_COUNT=6 CID=103934,104157,[104037,104088,104089,104091],104223,104241,104263 BUG=none TEST=none R=tbreisacher TBR=brettw Review URL: https://chromiumcodereview.appspot.com/10830013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148432 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/app')
-rw-r--r--content/app/content_main_runner.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index 8094ca4..88a72e8 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() {