summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-12 21:31:50 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-12 21:31:50 +0000
commitc7bf745d427ab641808fb2bcf7d4667e60851ae6 (patch)
tree9a1df4ce70f507f5a2d479b49d05ba1af332dd50 /webkit
parent7a9f8918e45d73b4977984dddcefad26b6d717f0 (diff)
downloadchromium_src-c7bf745d427ab641808fb2bcf7d4667e60851ae6.zip
chromium_src-c7bf745d427ab641808fb2bcf7d4667e60851ae6.tar.gz
chromium_src-c7bf745d427ab641808fb2bcf7d4667e60851ae6.tar.bz2
Coverity: Initialize member variables.
CID_COUNT=23 CID=100941,100986,100987,101015,101016,101017,101227,101229,101230,101332,101333,101334,101335,101336,101337,101355,101356,101359,101362,101363,101381,101389,101417 BUG=none TEST=none R=kmadhusu@chromium.org Review URL: http://codereview.chromium.org/7780013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100774 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/glue/webpreferences.cc1
-rw-r--r--webkit/glue/window_open_disposition.h1
-rw-r--r--webkit/plugins/ppapi/ppb_flash_menu_impl.cc3
-rw-r--r--webkit/plugins/ppapi/ppb_flash_net_connector_impl.cc5
4 files changed, 8 insertions, 2 deletions
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc
index cacfd4b..6bd15e5 100644
--- a/webkit/glue/webpreferences.cc
+++ b/webkit/glue/webpreferences.cc
@@ -75,6 +75,7 @@ WebPreferences::WebPreferences()
asynchronous_spell_checking_enabled(true),
accelerated_compositing_enabled(false),
force_compositing_mode(false),
+ allow_webui_compositing(false),
composite_to_texture_enabled(false),
accelerated_layers_enabled(false),
accelerated_video_enabled(false),
diff --git a/webkit/glue/window_open_disposition.h b/webkit/glue/window_open_disposition.h
index c9bfa0a..06bda03 100644
--- a/webkit/glue/window_open_disposition.h
+++ b/webkit/glue/window_open_disposition.h
@@ -8,6 +8,7 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h"
enum WindowOpenDisposition {
+ UNKNOWN,
SUPPRESS_OPEN,
CURRENT_TAB,
// Indicates that only one tab with the url should exist in the same window.
diff --git a/webkit/plugins/ppapi/ppb_flash_menu_impl.cc b/webkit/plugins/ppapi/ppb_flash_menu_impl.cc
index 2d64e8b..c82e362 100644
--- a/webkit/plugins/ppapi/ppb_flash_menu_impl.cc
+++ b/webkit/plugins/ppapi/ppb_flash_menu_impl.cc
@@ -96,7 +96,8 @@ bool ConvertMenuData(const PP_Flash_Menu* in_menu,
} // namespace
PPB_Flash_Menu_Impl::PPB_Flash_Menu_Impl(PP_Instance instance)
- : Resource(instance) {
+ : Resource(instance),
+ selected_id_out_(NULL) {
}
PPB_Flash_Menu_Impl::~PPB_Flash_Menu_Impl() {
diff --git a/webkit/plugins/ppapi/ppb_flash_net_connector_impl.cc b/webkit/plugins/ppapi/ppb_flash_net_connector_impl.cc
index e22cccf..5b85ec1 100644
--- a/webkit/plugins/ppapi/ppb_flash_net_connector_impl.cc
+++ b/webkit/plugins/ppapi/ppb_flash_net_connector_impl.cc
@@ -18,7 +18,10 @@ namespace webkit {
namespace ppapi {
PPB_Flash_NetConnector_Impl::PPB_Flash_NetConnector_Impl(PP_Instance instance)
- : Resource(instance) {
+ : Resource(instance),
+ socket_out_(NULL),
+ local_addr_out_(NULL),
+ remote_addr_out_(NULL) {
}
PPB_Flash_NetConnector_Impl::~PPB_Flash_NetConnector_Impl() {