diff options
Diffstat (limited to 'chrome/browser/themes/theme_service.cc')
-rw-r--r-- | chrome/browser/themes/theme_service.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/themes/theme_service.cc b/chrome/browser/themes/theme_service.cc index 298db31..91d8f54 100644 --- a/chrome/browser/themes/theme_service.cc +++ b/chrome/browser/themes/theme_service.cc @@ -844,7 +844,7 @@ void ThemeService::BuildFromExtension(const Extension* extension) { : chrome::kThemePackFilename); service->GetFileTaskRunner()->PostTask( FROM_HERE, - base::Bind(&WritePackToDiskCallback, pack, pack_path)); + base::Bind(&WritePackToDiskCallback, base::RetainedRef(pack), pack_path)); // Save only the extension path. The packed file which matches the // MaterialDesignController::Mode will be loaded via LoadThemePrefs(). |