Add missing initializer to CefStreamResourceHandler constructor (issue #1187).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@2046 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2015-03-04 19:01:53 +00:00
parent 4edc996180
commit 5f3df0b702
1 changed files with 5 additions and 1 deletions

View File

@ -104,7 +104,11 @@ CefStreamResourceHandler::CefStreamResourceHandler(
status_text_(status_text), status_text_(status_text),
mime_type_(mime_type), mime_type_(mime_type),
header_map_(header_map), header_map_(header_map),
stream_(stream) { stream_(stream)
#ifndef NDEBUG
, buffer_owned_by_file_thread_(false)
#endif
{
DCHECK(!mime_type_.empty()); DCHECK(!mime_type_.empty());
DCHECK(stream_.get()); DCHECK(stream_.get());
read_on_file_thread_ = stream_->MayBlock(); read_on_file_thread_ = stream_->MayBlock();