summaryrefslogtreecommitdiffstats
path: root/chrome/plugin
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-13 19:56:00 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-13 19:56:00 +0000
commit18cbea32c5386b83f0c182c599700ff2ea217b1b (patch)
treee46fac3975daaa9d0478b380e354f3ce577d9c31 /chrome/plugin
parent4ead6f77ebfb353d98bc87df656a2234102e8ace (diff)
downloadchromium_src-18cbea32c5386b83f0c182c599700ff2ea217b1b.zip
chromium_src-18cbea32c5386b83f0c182c599700ff2ea217b1b.tar.gz
chromium_src-18cbea32c5386b83f0c182c599700ff2ea217b1b.tar.bz2
Coverity: Initialize member variables.
CID=7636,8292,8295,8766,8788,9312,9444,10754,12632,12689 BUG=none TEST=none Review URL: http://codereview.chromium.org/3764001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62439 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin')
-rw-r--r--chrome/plugin/chrome_plugin_host.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/chrome/plugin/chrome_plugin_host.cc b/chrome/plugin/chrome_plugin_host.cc
index ff9503f..e23b273 100644
--- a/chrome/plugin/chrome_plugin_host.cc
+++ b/chrome/plugin/chrome_plugin_host.cc
@@ -50,8 +50,13 @@ class PluginRequestHandlerProxy
PluginRequestHandlerProxy(ChromePluginLib* plugin,
ScopableCPRequest* cprequest)
- : PluginHelper(plugin), cprequest_(cprequest), sync_(false),
- response_data_offset_(0), completed_(false), read_buffer_(NULL) {
+ : PluginHelper(plugin),
+ cprequest_(cprequest),
+ sync_(false),
+ response_data_offset_(0),
+ completed_(false),
+ read_buffer_(NULL),
+ read_buffer_size_(0) {
load_flags_ = PluginResponseUtils::CPLoadFlagsToNetFlags(0);
cprequest_->data = this; // see FromCPRequest().
}