Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(706)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java

Issue 399283004: Merge 282206 "Visual makeover for infobars." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2062/src/
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java
===================================================================
--- chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java (revision 284463)
+++ chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java (working copy)
@@ -369,11 +369,11 @@
}
// Called by the tab when it has started loading a new page.
- public void onPageStarted(String url) {
+ public void onPageStarted() {
LinkedList<InfoBar> barsToRemove = new LinkedList<InfoBar>();
for (InfoBar infoBar : mInfoBars) {
- if (infoBar.shouldExpire(url)) {
+ if (infoBar.shouldExpire()) {
barsToRemove.add(infoBar);
}
}

Powered by Google App Engine
This is Rietveld 408576698