get jsprotocolhandler in IO thread

This commit is contained in:
Robo 2015-07-22 21:54:12 +05:30
parent a1ec07e07e
commit 97c90d31d3
3 changed files with 11 additions and 10 deletions

View file

@ -27,11 +27,7 @@ AdapterRequestJob::AdapterRequestJob(ProtocolHandler* protocol_handler,
void AdapterRequestJob::Start() {
DCHECK(!real_job_.get());
content::BrowserThread::PostTask(
content::BrowserThread::UI,
FROM_HERE,
base::Bind(&AdapterRequestJob::GetJobTypeInUI,
weak_factory_.GetWeakPtr()));
GetJobType();
}
void AdapterRequestJob::Kill() {