| 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 27e9c03450ce60c4eee386a39191f1e15e91e075..00d891ead22d4096b43391edfd8b816b9d4f8bdb 100644
|
| --- a/chrome/browser/extensions/theme_installed_infobar_delegate.cc
|
| +++ b/chrome/browser/extensions/theme_installed_infobar_delegate.cc
|
| @@ -26,7 +26,7 @@ ThemeInstalledInfoBarDelegate::ThemeInstalledInfoBarDelegate(
|
| const std::string& previous_theme_id,
|
| bool previous_using_native_theme)
|
| : ConfirmInfoBarDelegate(tab_contents),
|
| - profile_(tab_contents->profile()),
|
| + profile_(static_cast<Profile*>(tab_contents->browser_context())),
|
| theme_service_(ThemeServiceFactory::GetForProfile(profile_)),
|
| name_(new_theme->name()),
|
| theme_id_(new_theme->id()),
|
|
|