mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-17 20:50:42 +01:00
Merge revision 617 changes:
- Fix usage of ReadRawData return value in scheme handler implementation (issue #534). git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/963@618 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
4d0a87ae47
commit
75a4730637
@ -498,9 +498,14 @@ class CefUrlRequestJob : public net::URLRequestJob {
|
||||
|
||||
dest_ = NULL;
|
||||
dest_size_ = 0;
|
||||
} else {
|
||||
// All done.
|
||||
job_->NotifyDone(URLRequestStatus());
|
||||
}
|
||||
} else {
|
||||
// All done.
|
||||
} else if (!job_->GetStatus().is_io_pending()) {
|
||||
// Failed due to an error.
|
||||
NOTREACHED() <<
|
||||
"ReadRawData returned false without setting IO as pending";
|
||||
job_->NotifyDone(URLRequestStatus());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user