| Index: chrome/browser/ui/cocoa/keystone_infobar.mm
|
| diff --git a/chrome/browser/ui/cocoa/keystone_infobar.mm b/chrome/browser/ui/cocoa/keystone_infobar.mm
|
| index fd1ba9f02c62d7e3dfdbb2b152320a03d465ffe9..0fc1cbfc93ffe15d919d2fa3ac92f48f45c6f438 100644
|
| --- a/chrome/browser/ui/cocoa/keystone_infobar.mm
|
| +++ b/chrome/browser/ui/cocoa/keystone_infobar.mm
|
| @@ -69,7 +69,7 @@ class KeystonePromotionInfoBarDelegate : public ConfirmInfoBarDelegate {
|
| KeystonePromotionInfoBarDelegate::KeystonePromotionInfoBarDelegate(
|
| TabContents* tab_contents)
|
| : ConfirmInfoBarDelegate(tab_contents),
|
| - profile_(tab_contents->profile()),
|
| + profile_(static_cast<Profile*>(tab_contents->browser_context())),
|
| can_expire_(false),
|
| ALLOW_THIS_IN_INITIALIZER_LIST(method_factory_(this)) {
|
| const int kCanExpireOnNavigationAfterMilliseconds = 8 * 1000;
|
|
|