| Index: chrome/browser/themes/theme_service.cc
|
| diff --git a/chrome/browser/themes/theme_service.cc b/chrome/browser/themes/theme_service.cc
|
| index 425d76259b00a5d8ad1977ae7b38e314b135e542..3a0161e9881e235d2e307ff2307da9b772a3538d 100644
|
| --- a/chrome/browser/themes/theme_service.cc
|
| +++ b/chrome/browser/themes/theme_service.cc
|
| @@ -59,7 +59,6 @@
|
| using base::UserMetricsAction;
|
| using content::BrowserThread;
|
| using extensions::Extension;
|
| -using extensions::UnloadedExtensionInfo;
|
| using ui::ResourceBundle;
|
|
|
|
|
| @@ -195,9 +194,9 @@ class ThemeService::ThemeObserver
|
| void OnExtensionUnloaded(
|
| content::BrowserContext* browser_context,
|
| const extensions::Extension* extension,
|
| - extensions::UnloadedExtensionInfo::Reason reason) override {
|
| - if (reason != extensions::UnloadedExtensionInfo::REASON_UPDATE &&
|
| - reason != extensions::UnloadedExtensionInfo::REASON_LOCK_ALL &&
|
| + extensions::UnloadedExtensionReason reason) override {
|
| + if (reason != extensions::UnloadedExtensionReason::UPDATE &&
|
| + reason != extensions::UnloadedExtensionReason::LOCK_ALL &&
|
| extension->is_theme() &&
|
| extension->id() == theme_service_->GetThemeID()) {
|
| theme_service_->UseDefaultTheme();
|
|
|