Index: chrome/browser/ui/extensions/extension_install_ui_default.cc |
diff --git a/chrome/browser/ui/extensions/extension_install_ui_default.cc b/chrome/browser/ui/extensions/extension_install_ui_default.cc |
index aea8f52e879e4124bc4ab777cac4741fa8f83073..888957732a842c47d2fe84ce9b917eaeea7727eb 100644 |
--- a/chrome/browser/ui/extensions/extension_install_ui_default.cc |
+++ b/chrome/browser/ui/extensions/extension_install_ui_default.cc |
@@ -202,7 +202,7 @@ ExtensionInstallPrompt* ExtensionInstallUI::CreateInstallPromptWithProfile( |
ExtensionInstallUIDefault::ExtensionInstallUIDefault(Profile* profile) |
: ExtensionInstallUI(profile), |
- previous_using_native_theme_(false), |
+ previous_using_system_theme_(false), |
use_app_installed_bubble_(false) { |
// |profile| can be NULL during tests. |
if (profile) { |
@@ -211,8 +211,8 @@ ExtensionInstallUIDefault::ExtensionInstallUIDefault(Profile* profile) |
ThemeServiceFactory::GetThemeForProfile(profile); |
if (previous_theme) |
previous_theme_id_ = previous_theme->id(); |
- previous_using_native_theme_ = |
- ThemeServiceFactory::GetForProfile(profile)->UsingNativeTheme(); |
+ previous_using_system_theme_ = |
+ ThemeServiceFactory::GetForProfile(profile)->UsingSystemTheme(); |
} |
} |
@@ -232,7 +232,7 @@ void ExtensionInstallUIDefault::OnInstallSuccess(const Extension* extension, |
if (extension->is_theme()) { |
ThemeInstalledInfoBarDelegate::Create( |
- extension, profile(), previous_theme_id_, previous_using_native_theme_); |
+ extension, profile(), previous_theme_id_, previous_using_system_theme_); |
return; |
} |