Fix handling failed print.
This commit is contained in:
parent
57d06c5241
commit
a98e26a307
1 changed files with 4 additions and 0 deletions
|
@ -83,6 +83,10 @@ void PrintingConfigService::GetPrintSettings(
|
|||
weak_factory_.GetWeakPtr(), printer_query,
|
||||
callback)));
|
||||
} else {
|
||||
BrowserThread::PostTask(
|
||||
BrowserThread::IO, FROM_HERE,
|
||||
base::Bind(&PrintingConfigService::OnGetSettingsFailed,
|
||||
weak_factory_.GetWeakPtr(), printer_query, callback));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue