mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-02 20:26:59 +01:00
Fix usage of ReadRawData return value in scheme handler implementation (issue #534).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@617 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
c7fa722bf5
commit
89ea7caae9
@ -498,11 +498,16 @@ class CefUrlRequestJob : public net::URLRequestJob {
|
||||
|
||||
dest_ = NULL;
|
||||
dest_size_ = 0;
|
||||
}
|
||||
} else {
|
||||
// All done.
|
||||
job_->NotifyDone(URLRequestStatus());
|
||||
}
|
||||
} else if (!job_->GetStatus().is_io_pending()) {
|
||||
// Failed due to an error.
|
||||
NOTREACHED() <<
|
||||
"ReadRawData returned false without setting IO as pending";
|
||||
job_->NotifyDone(URLRequestStatus());
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Execute this method on the IO thread.
|
||||
|
Loading…
x
Reference in New Issue
Block a user