| Index: chrome/browser/chromeos/printing/ppd_provider_factory.cc
|
| diff --git a/chrome/browser/chromeos/printing/ppd_provider_factory.cc b/chrome/browser/chromeos/printing/ppd_provider_factory.cc
|
| index 644ddc1325274ef0b64e6a537532592cfc098866..3d85d99585487c25d69f054f15d0669c73472fb2 100644
|
| --- a/chrome/browser/chromeos/printing/ppd_provider_factory.cc
|
| +++ b/chrome/browser/chromeos/printing/ppd_provider_factory.cc
|
| @@ -11,7 +11,6 @@
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chromeos/printing/ppd_cache.h"
|
| #include "chromeos/printing/ppd_provider.h"
|
| -#include "content/public/browser/browser_thread.h"
|
| #include "google_apis/google_api_keys.h"
|
| #include "net/url_request/url_request_context_getter.h"
|
|
|
| @@ -22,16 +21,9 @@ scoped_refptr<PpdProvider> CreateProvider(Profile* profile) {
|
| base::FilePath ppd_cache_path =
|
| profile->GetPath().Append(FILE_PATH_LITERAL("PPDCache"));
|
|
|
| - auto cache = PpdCache::Create(ppd_cache_path,
|
| - content::BrowserThread::GetTaskRunnerForThread(
|
| - content::BrowserThread::CACHE)
|
| - .get());
|
| -
|
| return PpdProvider::Create(g_browser_process->GetApplicationLocale(),
|
| - g_browser_process->system_request_context(), cache,
|
| - content::BrowserThread::GetTaskRunnerForThread(
|
| - content::BrowserThread::FILE)
|
| - .get());
|
| + g_browser_process->system_request_context(),
|
| + PpdCache::Create(ppd_cache_path));
|
| }
|
|
|
| } // namespace printing
|
|
|