provide default error message
This commit is contained in:
parent
9ab53b0e4b
commit
24bcd3b21e
2 changed files with 4 additions and 2 deletions
|
@ -106,7 +106,8 @@ class CustomProtocolRequestJob : public AdapterRequestJob {
|
|||
GetWeakPtr(), path));
|
||||
return;
|
||||
} else if (name == "RequestErrorJob") {
|
||||
int error;
|
||||
// Default value net::ERR_NOT_IMPLEMENTED
|
||||
int error = -11;
|
||||
dict.Get("error", &error);
|
||||
|
||||
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue