| Index: chrome/browser/banners/app_banner_manager.cc
|
| diff --git a/chrome/browser/banners/app_banner_manager.cc b/chrome/browser/banners/app_banner_manager.cc
|
| index af60409cd692e10b1b0c721d1e6a42ce6f4d73e4..4b48d40e1932e77c5b708843471ddc7f6343f601 100644
|
| --- a/chrome/browser/banners/app_banner_manager.cc
|
| +++ b/chrome/browser/banners/app_banner_manager.cc
|
| @@ -139,6 +139,10 @@ void AppBannerManager::SendBannerDismissed(int request_id) {
|
| event_->BannerDismissed();
|
| }
|
|
|
| +base::WeakPtr<AppBannerManager> AppBannerManager::GetWeakPtr() {
|
| + return weak_factory_.GetWeakPtr();
|
| +}
|
| +
|
| AppBannerManager::AppBannerManager(content::WebContents* web_contents)
|
| : content::WebContentsObserver(web_contents),
|
| SiteEngagementObserver(SiteEngagementService::Get(
|
| @@ -188,10 +192,6 @@ int AppBannerManager::GetMinimumPrimaryIconSizeInPx() {
|
| return InstallableManager::GetMinimumIconSizeInPx();
|
| }
|
|
|
| -base::WeakPtr<AppBannerManager> AppBannerManager::GetWeakPtr() {
|
| - return weak_factory_.GetWeakPtr();
|
| -}
|
| -
|
| bool AppBannerManager::IsDebugMode() const {
|
| return is_debug_mode_ ||
|
| base::CommandLine::ForCurrentProcess()->HasSwitch(
|
|
|