| Index: ios/chrome/browser/native_app_launcher/native_app_infobar_controller.mm
|
| diff --git a/ios/chrome/browser/native_app_launcher/native_app_infobar_controller.mm b/ios/chrome/browser/native_app_launcher/native_app_infobar_controller.mm
|
| index 48243604e7f6477f8b595620aa1a4b9ce7b4cc6a..0f0a823b7d1f62e680efa6a7d14cfeef172cb343 100644
|
| --- a/ios/chrome/browser/native_app_launcher/native_app_infobar_controller.mm
|
| +++ b/ios/chrome/browser/native_app_launcher/native_app_infobar_controller.mm
|
| @@ -8,10 +8,10 @@
|
| #include "base/mac/scoped_nsobject.h"
|
| #include "base/strings/sys_string_conversions.h"
|
| #include "ios/chrome/browser/native_app_launcher/native_app_infobar_delegate.h"
|
| +#import "ios/chrome/browser/ui/infobars/infobar_view.h"
|
| +#include "ios/chrome/browser/ui/infobars/infobar_view_protocol.h"
|
| #include "ios/chrome/grit/ios_strings.h"
|
| -#include "ios/public/provider/chrome/browser/chrome_browser_provider.h"
|
| #import "ios/public/provider/chrome/browser/native_app_launcher/native_app_types.h"
|
| -#include "ios/public/provider/chrome/browser/ui/infobar_view_protocol.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
|
|
| @interface NativeAppInfoBarController ()
|
| @@ -41,7 +41,7 @@
|
| nativeAppInfoBarDelegate_ = static_cast<NativeAppInfoBarDelegate*>(delegate);
|
| DCHECK(nativeAppInfoBarDelegate_);
|
| infoBarView.reset(
|
| - ios::GetChromeBrowserProvider()->CreateInfoBarView(frame, self.delegate));
|
| + [[InfoBarView alloc] initWithFrame:frame delegate:self.delegate]);
|
|
|
| // Lays out widgets common to all NativeAppInfobars.
|
| [infoBarView
|
|
|