Fix handling failed print.

This commit is contained in:
Cheng Zhao 2014-08-22 13:01:49 +08:00
parent 57d06c5241
commit a98e26a307

View file

@ -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));
}
}