Use the BrowserContext from protocol
This commit is contained in:
parent
e209312459
commit
923296b4ee
6 changed files with 21 additions and 11 deletions
|
@ -132,8 +132,8 @@ class CustomProtocolRequestJob : public AdapterRequestJob {
|
|||
dict.Get("referrer", &referrer);
|
||||
|
||||
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
|
||||
base::Bind(&AdapterRequestJob::CreateHttpJobAndStart,
|
||||
GetWeakPtr(), url, method, referrer));
|
||||
base::Bind(&AdapterRequestJob::CreateHttpJobAndStart, GetWeakPtr(),
|
||||
registry_->browser_context(), url, method, referrer));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue