Index: chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java b/chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java |
index c08565526231580f4be23ebd5e0fe49c14028ffe..9f371b8371355a456ca878110a26e4b9b4c6a813 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java |
@@ -226,7 +226,7 @@ public class AppBannerManager implements AppBannerView.Observer, AppDetailsDeleg |
*/ |
private boolean isBannerForCurrentPage(String bannerUrl) { |
return mContentViewCore != null && |
- TextUtils.equals(mContentViewCore.getUrl(), bannerUrl); |
+ TextUtils.equals(mContentViewCore.getWebContents().getUrl(), bannerUrl); |
} |
private static native boolean nativeIsEnabled(); |