summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/extensions/extension_web_socket_proxy_private_api.cc5
-rw-r--r--chrome/browser/history/in_memory_url_index.cc10
-rw-r--r--chrome/browser/policy/cloud_policy_subsystem.cc4
-rw-r--r--chrome/browser/speech/speech_input_bubble_views.cc6
-rw-r--r--chrome/browser/ui/snapshot_tab_helper.cc3
-rw-r--r--chrome/browser/ui/views/sad_tab_view.cc3
-rw-r--r--chrome/browser/ui/views/web_intent_picker_view.cc4
7 files changed, 28 insertions, 7 deletions
diff --git a/chrome/browser/extensions/extension_web_socket_proxy_private_api.cc b/chrome/browser/extensions/extension_web_socket_proxy_private_api.cc
index ddfe14c..367bdfb 100644
--- a/chrome/browser/extensions/extension_web_socket_proxy_private_api.cc
+++ b/chrome/browser/extensions/extension_web_socket_proxy_private_api.cc
@@ -32,7 +32,10 @@ const char kPermissionDeniedError[] =
}
WebSocketProxyPrivate::WebSocketProxyPrivate()
- : listening_port_(-1), do_tls_(false), is_finalized_(false){
+ : port_(-1),
+ listening_port_(-1),
+ do_tls_(false),
+ is_finalized_(false) {
}
WebSocketProxyPrivate::~WebSocketProxyPrivate() {
diff --git a/chrome/browser/history/in_memory_url_index.cc b/chrome/browser/history/in_memory_url_index.cc
index eb03b95..384322f8 100644
--- a/chrome/browser/history/in_memory_url_index.cc
+++ b/chrome/browser/history/in_memory_url_index.cc
@@ -115,14 +115,20 @@ int ScoreForValue(int value, const int* value_ranks) {
InMemoryURLIndex::InMemoryURLIndex(const FilePath& history_dir)
: history_dir_(history_dir),
private_data_(new URLIndexPrivateData),
- cached_at_shutdown_(false) {
+ cached_at_shutdown_(false),
+ pre_filter_item_count(0),
+ post_filter_item_count(0),
+ post_scoring_item_count(0) {
InMemoryURLIndex::InitializeSchemeWhitelist(&scheme_whitelist_);
}
// Called only by unit tests.
InMemoryURLIndex::InMemoryURLIndex()
: private_data_(new URLIndexPrivateData),
- cached_at_shutdown_(false) {
+ cached_at_shutdown_(false),
+ pre_filter_item_count(0),
+ post_filter_item_count(0),
+ post_scoring_item_count(0) {
InMemoryURLIndex::InitializeSchemeWhitelist(&scheme_whitelist_);
}
diff --git a/chrome/browser/policy/cloud_policy_subsystem.cc b/chrome/browser/policy/cloud_policy_subsystem.cc
index 21663eb..b8e40dd 100644
--- a/chrome/browser/policy/cloud_policy_subsystem.cc
+++ b/chrome/browser/policy/cloud_policy_subsystem.cc
@@ -205,6 +205,8 @@ CloudPolicyCacheBase* CloudPolicySubsystem::GetCloudPolicyCacheBase() const {
}
CloudPolicySubsystem::CloudPolicySubsystem()
- : refresh_pref_name_(NULL) {}
+ : refresh_pref_name_(NULL),
+ data_store_(NULL) {
+}
} // namespace policy
diff --git a/chrome/browser/speech/speech_input_bubble_views.cc b/chrome/browser/speech/speech_input_bubble_views.cc
index 5e56c73..e7714c9 100644
--- a/chrome/browser/speech/speech_input_bubble_views.cc
+++ b/chrome/browser/speech/speech_input_bubble_views.cc
@@ -93,6 +93,12 @@ SpeechInputBubbleView::SpeechInputBubbleView(
delegate_(delegate),
element_rect_(element_rect),
tab_contents_(tab_contents),
+ icon_(NULL),
+ heading_(NULL),
+ message_(NULL),
+ try_again_(NULL),
+ cancel_(NULL),
+ mic_settings_(NULL),
display_mode_(SpeechInputBubbleBase::DISPLAY_MODE_WARM_UP),
kIconLayoutMinWidth(ResourceBundle::GetSharedInstance().GetBitmapNamed(
IDR_SPEECH_INPUT_MIC_EMPTY)->width()) {
diff --git a/chrome/browser/ui/snapshot_tab_helper.cc b/chrome/browser/ui/snapshot_tab_helper.cc
index 1a073dc..0078d57 100644
--- a/chrome/browser/ui/snapshot_tab_helper.cc
+++ b/chrome/browser/ui/snapshot_tab_helper.cc
@@ -10,7 +10,8 @@
#include "content/public/browser/notification_service.h"
SnapshotTabHelper::SnapshotTabHelper(TabContentsWrapper* wrapper)
- : TabContentsObserver(wrapper->tab_contents()) {
+ : TabContentsObserver(wrapper->tab_contents()),
+ wrapper_(wrapper) {
}
SnapshotTabHelper::~SnapshotTabHelper() {
diff --git a/chrome/browser/ui/views/sad_tab_view.cc b/chrome/browser/ui/views/sad_tab_view.cc
index 1e65bc6..046a794 100644
--- a/chrome/browser/ui/views/sad_tab_view.cc
+++ b/chrome/browser/ui/views/sad_tab_view.cc
@@ -46,7 +46,8 @@ SadTabView::SadTabView(TabContents* tab_contents, Kind kind)
ResourceBundle::BaseFont)),
message_(NULL),
help_link_(NULL),
- feedback_link_(NULL) {
+ feedback_link_(NULL),
+ reload_button_(NULL) {
DCHECK(tab_contents);
// Sometimes the user will never see this tab, so keep track of the total
diff --git a/chrome/browser/ui/views/web_intent_picker_view.cc b/chrome/browser/ui/views/web_intent_picker_view.cc
index 297d783..75c3ffe 100644
--- a/chrome/browser/ui/views/web_intent_picker_view.cc
+++ b/chrome/browser/ui/views/web_intent_picker_view.cc
@@ -148,7 +148,9 @@ WebIntentPickerView::WebIntentPickerView(views::View* anchor_view,
WebIntentPickerDelegate* delegate)
: BubbleDelegateView(anchor_view, views::BubbleBorder::TOP_LEFT),
delegate_(delegate),
- button_hbox_(NULL) {}
+ button_hbox_(NULL),
+ plus_button_(NULL) {
+}
WebIntentPickerView::~WebIntentPickerView() {
}