Chromium Code Reviews| Index: chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc |
| diff --git a/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc b/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc |
| index fb7ebb240c5b863c6ebccd761107c89ad7883f50..3f783c505a614c9fd4a7b141b89634d08ee33a6a 100644 |
| --- a/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc |
| +++ b/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc |
| @@ -83,6 +83,9 @@ CupsPrintersHandler::CupsPrintersHandler(content::WebUI* webui) |
| base::PathService::Get(chrome::DIR_CHROMEOS_PPD_CACHE, &ppd_cache_path)); |
| ppd_provider_ = chromeos::printing::PpdProvider::Create( |
| google_apis::GetAPIKey(), g_browser_process->system_request_context(), |
| + content::BrowserThread::GetTaskRunnerForThread( |
| + content::BrowserThread::FILE) |
| + .get(), |
|
skau
2016/11/09 00:01:09
Why are you using the raw pointer instead of the s
Carlson
2016/11/10 19:22:50
Changed to scoped_refptr (see other comment)
|
| chromeos::printing::PpdCache::Create(ppd_cache_path)); |
| } |