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

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

Issue 1150193004: Straighten up life cycle of native InfoBar pointers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed unrelated file Created 5 years, 6 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/DataReductionProxyInfoBar.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/infobar/DataReductionProxyInfoBar.java b/chrome/android/java/src/org/chromium/chrome/browser/infobar/DataReductionProxyInfoBar.java
index 325b931bb00427aeae0fafdf75c8304f0900aae7..9d534f0b0f264268009612233e9b4152e72db0f3 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/infobar/DataReductionProxyInfoBar.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/infobar/DataReductionProxyInfoBar.java
@@ -31,8 +31,8 @@ public class DataReductionProxyInfoBar extends ConfirmInfoBar {
DataReductionProxyInfoBarDelegate.launch(webContents, linkUrl);
}
- DataReductionProxyInfoBar(long nativeInfoBar, int iconDrawableId) {
- super(nativeInfoBar, null, iconDrawableId, null, sTitle, sLinkText, null, null);
+ DataReductionProxyInfoBar(int iconDrawableId) {
+ super(null, iconDrawableId, null, sTitle, sLinkText, null, null);
}
@Override

Powered by Google App Engine
This is Rietveld 408576698