summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/net/chrome_url_request_context.cc4
-rw-r--r--chrome/browser/notifications/desktop_notification_service_unittest.cc3
-rw-r--r--chrome/browser/printing/print_dialog_cloud_uitest.cc5
-rw-r--r--chrome/browser/status_icons/status_tray_manager.cc2
4 files changed, 10 insertions, 4 deletions
diff --git a/chrome/browser/net/chrome_url_request_context.cc b/chrome/browser/net/chrome_url_request_context.cc
index 17197a4..a837893 100644
--- a/chrome/browser/net/chrome_url_request_context.cc
+++ b/chrome/browser/net/chrome_url_request_context.cc
@@ -732,7 +732,9 @@ void ChromeURLRequestContextGetter::GetCookieStoreAsyncHelper(
// ChromeURLRequestContext
// ----------------------------------------------------------------------------
-ChromeURLRequestContext::ChromeURLRequestContext() {
+ChromeURLRequestContext::ChromeURLRequestContext()
+ : is_media_(false),
+ is_off_the_record_(false) {
CheckCurrentlyOnIOThread();
}
diff --git a/chrome/browser/notifications/desktop_notification_service_unittest.cc b/chrome/browser/notifications/desktop_notification_service_unittest.cc
index 3af8b0f..b47c645 100644
--- a/chrome/browser/notifications/desktop_notification_service_unittest.cc
+++ b/chrome/browser/notifications/desktop_notification_service_unittest.cc
@@ -24,7 +24,8 @@ class ThreadProxy : public base::RefCountedThreadSafe<ThreadProxy> {
public:
ThreadProxy()
: io_event_(false, false),
- ui_event_(false, false) {
+ ui_event_(false, false),
+ permission_(0) {
// The current message loop was already initalized by the test superclass.
ui_thread_.reset(
new ChromeThread(ChromeThread::UI, MessageLoop::current()));
diff --git a/chrome/browser/printing/print_dialog_cloud_uitest.cc b/chrome/browser/printing/print_dialog_cloud_uitest.cc
index 4a07d8c..5d15923 100644
--- a/chrome/browser/printing/print_dialog_cloud_uitest.cc
+++ b/chrome/browser/printing/print_dialog_cloud_uitest.cc
@@ -76,7 +76,10 @@ class SimpleTestJob : public URLRequestTestJob {
class TestController {
public:
- TestController() : result_(false), use_delegate_(false) {}
+ TestController()
+ : result_(false),
+ use_delegate_(false),
+ delegate_(NULL) {}
void set_result(bool value) {
result_ = value;
}
diff --git a/chrome/browser/status_icons/status_tray_manager.cc b/chrome/browser/status_icons/status_tray_manager.cc
index 7a8a779..d60fc5e 100644
--- a/chrome/browser/status_icons/status_tray_manager.cc
+++ b/chrome/browser/status_icons/status_tray_manager.cc
@@ -16,7 +16,7 @@
#include "grit/chromium_strings.h"
#include "grit/theme_resources.h"
-StatusTrayManager::StatusTrayManager() {
+StatusTrayManager::StatusTrayManager() : profile_(NULL) {
}
StatusTrayManager::~StatusTrayManager() {