From 0e14e87dac939b7d26f042250e93fe32883ae087 Mon Sep 17 00:00:00 2001 From: "jhawkins@chromium.org" Date: Tue, 21 Jun 2011 21:24:19 +0000 Subject: Coverity: Initialize member variables. CID=9299,13805,14203,14284,14459,15435,15897,16023,16614,16773,16819,16820, 16908,16916 BUG=none TEST=none R=kmadhusu@chromium.org Review URL: http://codereview.chromium.org/7215027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89897 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/plugins/npapi/plugin_instance.cc | 1 + webkit/plugins/npapi/plugin_list.cc | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'webkit/plugins/npapi') diff --git a/webkit/plugins/npapi/plugin_instance.cc b/webkit/plugins/npapi/plugin_instance.cc index ca14c28..53242af 100644 --- a/webkit/plugins/npapi/plugin_instance.cc +++ b/webkit/plugins/npapi/plugin_instance.cc @@ -35,6 +35,7 @@ PluginInstance::PluginInstance(PluginLib *plugin, const std::string &mime_type) transparent_(true), webplugin_(0), mime_type_(mime_type), + get_notify_data_(0), use_mozilla_user_agent_(false), #if defined (OS_MACOSX) #ifdef NP_NO_QUICKDRAW diff --git a/webkit/plugins/npapi/plugin_list.cc b/webkit/plugins/npapi/plugin_list.cc index c4dcfc4..4cab3b7 100644 --- a/webkit/plugins/npapi/plugin_list.cc +++ b/webkit/plugins/npapi/plugin_list.cc @@ -341,7 +341,8 @@ PluginList::PluginList(const PluginGroupDefinition* definitions, plugins_need_refresh_(false), disable_outdated_plugins_(false), group_definitions_(definitions), - num_group_definitions_(num_definitions) { + num_group_definitions_(num_definitions), + default_plugin_enabled_(false) { // Don't do platform-dependend initialization in unit tests. AddHardcodedPluginGroups(&plugin_groups_); } -- cgit v1.1