summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-06 02:58:02 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-06 02:58:02 +0000
commit5f603811e07785c366eac576867ff1adce294ff6 (patch)
tree54c2771ca5b289e485bae449a77a866deccf0b65
parente9519556dd6ec6b9961fcf2779131727dc673376 (diff)
downloadchromium_src-5f603811e07785c366eac576867ff1adce294ff6.zip
chromium_src-5f603811e07785c366eac576867ff1adce294ff6.tar.gz
chromium_src-5f603811e07785c366eac576867ff1adce294ff6.tar.bz2
Coverity: initialize read_attempts_ in BufferedDataSource constructor.
CID=5439 BUG=none TEST=none Review URL: http://codereview.chromium.org/258030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28088 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/glue/media/buffered_data_source.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/media/buffered_data_source.cc b/webkit/glue/media/buffered_data_source.cc
index 0bc57f0..a4d753b 100644
--- a/webkit/glue/media/buffered_data_source.cc
+++ b/webkit/glue/media/buffered_data_source.cc
@@ -469,6 +469,7 @@ BufferedDataSource::BufferedDataSource(
read_position_(0),
read_size_(0),
read_buffer_(NULL),
+ read_attempts_(0),
intermediate_read_buffer_(new uint8[kInitialReadBufferSize]),
intermediate_read_buffer_size_(kInitialReadBufferSize),
render_loop_(render_loop),