summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/debug/trace_event_impl.cc1
-rw-r--r--chrome/browser/extensions/api/serial/serial_api.cc2
-rw-r--r--chrome/browser/geolocation/chrome_access_token_store.cc5
-rw-r--r--chrome/browser/sessions/session_types.cc1
-rw-r--r--content/common/gpu/media/dxva_video_decode_accelerator.cc2
-rw-r--r--net/http/http_response_body_drainer.cc5
-rw-r--r--net/proxy/proxy_script_decider.cc5
-rw-r--r--net/spdy/buffered_spdy_framer.cc1
-rw-r--r--ppapi/native_client/src/shared/ppapi_proxy/ppp_instance_combined.cc4
-rw-r--r--ppapi/native_client/src/trusted/plugin/module_ppapi.cc6
-rw-r--r--remoting/protocol/jingle_session_manager.cc1
-rw-r--r--remoting/protocol/negotiating_authenticator.cc3
-rw-r--r--webkit/plugins/ppapi/audio_helper.cc4
13 files changed, 27 insertions, 13 deletions
diff --git a/base/debug/trace_event_impl.cc b/base/debug/trace_event_impl.cc
index 223e04b..107f87f 100644
--- a/base/debug/trace_event_impl.cc
+++ b/base/debug/trace_event_impl.cc
@@ -147,6 +147,7 @@ TraceEvent::TraceEvent()
flags_(0) {
arg_names_[0] = NULL;
arg_names_[1] = NULL;
+ memset(arg_values_, 0, sizeof(arg_values_));
}
TraceEvent::TraceEvent(int thread_id,
diff --git a/chrome/browser/extensions/api/serial/serial_api.cc b/chrome/browser/extensions/api/serial/serial_api.cc
index da52f5e..c8b5bcb 100644
--- a/chrome/browser/extensions/api/serial/serial_api.cc
+++ b/chrome/browser/extensions/api/serial/serial_api.cc
@@ -50,7 +50,7 @@ void SerialOpenFunction::RespondOnUIThread() {
SendResponse(true);
}
-SerialCloseFunction::SerialCloseFunction() {
+SerialCloseFunction::SerialCloseFunction() : connection_id_(0) {
}
SerialCloseFunction::~SerialCloseFunction() {
diff --git a/chrome/browser/geolocation/chrome_access_token_store.cc b/chrome/browser/geolocation/chrome_access_token_store.cc
index 7a23269..7827e3d 100644
--- a/chrome/browser/geolocation/chrome_access_token_store.cc
+++ b/chrome/browser/geolocation/chrome_access_token_store.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -30,7 +30,8 @@ class TokenLoadingJob : public base::RefCountedThreadSafe<TokenLoadingJob> {
public:
TokenLoadingJob(
const AccessTokenStore::LoadAccessTokensCallbackType& callback)
- : callback_(callback) {
+ : callback_(callback),
+ system_request_context_(NULL) {
}
void Run() {
diff --git a/chrome/browser/sessions/session_types.cc b/chrome/browser/sessions/session_types.cc
index 6973b89..0e19525 100644
--- a/chrome/browser/sessions/session_types.cc
+++ b/chrome/browser/sessions/session_types.cc
@@ -17,6 +17,7 @@ using content::NavigationEntry;
TabNavigation::TabNavigation()
: transition_(content::PAGE_TRANSITION_TYPED),
type_mask_(0),
+ post_id_(-1),
index_(-1) {
}
diff --git a/content/common/gpu/media/dxva_video_decode_accelerator.cc b/content/common/gpu/media/dxva_video_decode_accelerator.cc
index d515667..e1575d5 100644
--- a/content/common/gpu/media/dxva_video_decode_accelerator.cc
+++ b/content/common/gpu/media/dxva_video_decode_accelerator.cc
@@ -249,6 +249,8 @@ DXVAVideoDecodeAccelerator::DXVAVideoDecodeAccelerator(
renderer_process_(renderer_process),
last_input_buffer_id_(-1),
inputs_before_decode_(0) {
+ memset(&input_stream_info_, 0, sizeof(input_stream_info_));
+ memset(&output_stream_info_, 0, sizeof(output_stream_info_));
}
DXVAVideoDecodeAccelerator::~DXVAVideoDecodeAccelerator() {
diff --git a/net/http/http_response_body_drainer.cc b/net/http/http_response_body_drainer.cc
index 34d946f..903f501 100644
--- a/net/http/http_response_body_drainer.cc
+++ b/net/http/http_response_body_drainer.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -14,7 +14,8 @@
namespace net {
HttpResponseBodyDrainer::HttpResponseBodyDrainer(HttpStream* stream)
- : stream_(stream),
+ : read_size_(0),
+ stream_(stream),
next_state_(STATE_NONE),
total_read_(0),
session_(NULL) {}
diff --git a/net/proxy/proxy_script_decider.cc b/net/proxy/proxy_script_decider.cc
index a247fbb..5b5248d 100644
--- a/net/proxy/proxy_script_decider.cc
+++ b/net/proxy/proxy_script_decider.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -49,7 +49,8 @@ ProxyScriptDecider::ProxyScriptDecider(
ProxyScriptFetcher* proxy_script_fetcher,
DhcpProxyScriptFetcher* dhcp_proxy_script_fetcher,
NetLog* net_log)
- : proxy_script_fetcher_(proxy_script_fetcher),
+ : resolver_(NULL),
+ proxy_script_fetcher_(proxy_script_fetcher),
dhcp_proxy_script_fetcher_(dhcp_proxy_script_fetcher),
current_pac_source_index_(0u),
pac_mandatory_(false),
diff --git a/net/spdy/buffered_spdy_framer.cc b/net/spdy/buffered_spdy_framer.cc
index 70db563..a7ac151 100644
--- a/net/spdy/buffered_spdy_framer.cc
+++ b/net/spdy/buffered_spdy_framer.cc
@@ -13,6 +13,7 @@ BufferedSpdyFramer::BufferedSpdyFramer()
header_buffer_used_(0),
header_buffer_valid_(false),
header_stream_id_(SpdyFramer::kInvalidStream) {
+ memset(header_buffer_, 0, sizeof(header_buffer_));
}
BufferedSpdyFramer::~BufferedSpdyFramer() {
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/ppp_instance_combined.cc b/ppapi/native_client/src/shared/ppapi_proxy/ppp_instance_combined.cc
index b3af590..054c2ec 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/ppp_instance_combined.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/ppp_instance_combined.cc
@@ -1,16 +1,18 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ppapi/native_client/src/shared/ppapi_proxy/ppp_instance_combined.h"
#include <stdlib.h>
+#include <string.h>
namespace ppapi_proxy {
PPP_Instance_Combined::PPP_Instance_Combined()
: initialized_(false),
did_change_view_1_0_(NULL) {
+ memset(&instance_1_1_, 0, sizeof(instance_1_1_));
}
void PPP_Instance_Combined::Init1_0(const PPP_Instance_1_0* instance_if) {
diff --git a/ppapi/native_client/src/trusted/plugin/module_ppapi.cc b/ppapi/native_client/src/trusted/plugin/module_ppapi.cc
index 6cde6b8c..bb2acfd 100644
--- a/ppapi/native_client/src/trusted/plugin/module_ppapi.cc
+++ b/ppapi/native_client/src/trusted/plugin/module_ppapi.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011 The Chromium Authors. All rights reserved.
+ * Copyright (c) 2012 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -19,7 +19,9 @@ namespace plugin {
class ModulePpapi : public pp::Module {
public:
- ModulePpapi() : pp::Module(), init_was_successful_(false) {
+ ModulePpapi() : pp::Module(),
+ init_was_successful_(false),
+ private_interface_(NULL) {
MODULE_PRINTF(("ModulePpapi::ModulePpapi (this=%p)\n",
static_cast<void*>(this)));
}
diff --git a/remoting/protocol/jingle_session_manager.cc b/remoting/protocol/jingle_session_manager.cc
index b1cfb61..8bc0533 100644
--- a/remoting/protocol/jingle_session_manager.cc
+++ b/remoting/protocol/jingle_session_manager.cc
@@ -31,6 +31,7 @@ JingleSessionManager::JingleSessionManager(
base::MessageLoopProxy* message_loop)
: message_loop_(message_loop),
signal_strategy_(NULL),
+ listener_(NULL),
allow_nat_traversal_(false),
ready_(false),
http_port_allocator_(NULL),
diff --git a/remoting/protocol/negotiating_authenticator.cc b/remoting/protocol/negotiating_authenticator.cc
index 1234c25..efdbb32 100644
--- a/remoting/protocol/negotiating_authenticator.cc
+++ b/remoting/protocol/negotiating_authenticator.cc
@@ -72,7 +72,8 @@ scoped_ptr<Authenticator> NegotiatingAuthenticator::CreateForHost(
NegotiatingAuthenticator::NegotiatingAuthenticator(
Authenticator::State initial_state)
- : current_method_(AuthenticationMethod::Invalid()),
+ : certificate_sent_(false),
+ current_method_(AuthenticationMethod::Invalid()),
state_(initial_state),
rejection_reason_(INVALID_CREDENTIALS) {
}
diff --git a/webkit/plugins/ppapi/audio_helper.cc b/webkit/plugins/ppapi/audio_helper.cc
index 4a04f82..686ac90 100644
--- a/webkit/plugins/ppapi/audio_helper.cc
+++ b/webkit/plugins/ppapi/audio_helper.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -14,7 +14,7 @@ namespace ppapi {
// AudioHelper -----------------------------------------------------------------
-AudioHelper::AudioHelper() {
+AudioHelper::AudioHelper() : shared_memory_size_for_create_callback_(0) {
}
AudioHelper::~AudioHelper() {