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

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

Issue 2919953002: Revert of Unpack theme data from extensions off of UI thread. (Closed)
Patch Set: Created 3 years, 7 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/theme_installed_infobar_delegate.cc
diff --git a/chrome/browser/extensions/theme_installed_infobar_delegate.cc b/chrome/browser/extensions/theme_installed_infobar_delegate.cc
index e432bbdc5b22d4b35fd8a9d4dbb7c7656a69224c..16d349d5a772d0060b9f1a7631f82d293147ea64 100644
--- a/chrome/browser/extensions/theme_installed_infobar_delegate.cc
+++ b/chrome/browser/extensions/theme_installed_infobar_delegate.cc
@@ -144,9 +144,7 @@
const extensions::Extension* previous_theme =
extension_service_->GetExtensionById(previous_theme_id_, true);
if (previous_theme) {
- theme_service_->RevertToTheme(previous_theme);
- // TODO(estade): while we're waiting to close, it would be nice to
- // indicate that the theme is busy reverting.
+ theme_service_->SetTheme(previous_theme);
return false; // The theme change will close us.
}
}
« no previous file with comments | « chrome/browser/extensions/extension_service_sync_unittest.cc ('k') | chrome/browser/infobars/infobars_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698