Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1827)

Unified Diff: chrome/browser/extensions/startup_helper.cc

Issue 1080453002: Always destroy CrxInstaller on the UI Thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix CrOZ Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/startup_helper.cc
diff --git a/chrome/browser/extensions/startup_helper.cc b/chrome/browser/extensions/startup_helper.cc
index 07c868bdc75eb0586861b95f604ab1d1fde4568b..4c666f853435b06b9e5d226705e4995c6aa8d482 100644
--- a/chrome/browser/extensions/startup_helper.cc
+++ b/chrome/browser/extensions/startup_helper.cc
@@ -123,7 +123,9 @@ class ValidateCrxHelper : public SandboxedUnpackerClient {
ValidateCrxHelper(const CRXFileInfo& file,
const base::FilePath& temp_dir,
base::RunLoop* run_loop)
- : crx_file_(file),
+ : SandboxedUnpackerClient(
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI)),
+ crx_file_(file),
temp_dir_(temp_dir),
run_loop_(run_loop),
finished_(false),

Powered by Google App Engine
This is Rietveld 408576698