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

Unified Diff: chrome/browser/ui/android/infobars/data_reduction_proxy_infobar.cc

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/browser/ui/android/infobars/data_reduction_proxy_infobar.cc
diff --git a/chrome/browser/ui/android/infobars/data_reduction_proxy_infobar.cc b/chrome/browser/ui/android/infobars/data_reduction_proxy_infobar.cc
index 57e295e769813a04c399480d623dbfa85406ea32..f123334cf1cfd5edadc47185ed5e9db3f0667ee6 100644
--- a/chrome/browser/ui/android/infobars/data_reduction_proxy_infobar.cc
+++ b/chrome/browser/ui/android/infobars/data_reduction_proxy_infobar.cc
@@ -43,10 +43,7 @@ DataReductionProxyInfoBar::CreateRenderInfoBar(JNIEnv* env) {
Java_DataReductionProxyInfoBarDelegate_create(env));
return Java_DataReductionProxyInfoBarDelegate_showDataReductionProxyInfoBar(
- env,
- java_data_reduction_proxy_delegate_.obj(),
- reinterpret_cast<intptr_t>(this),
- GetEnumeratedIconId());
+ env, java_data_reduction_proxy_delegate_.obj(), GetEnumeratedIconId());
}
DataReductionProxyInfoBarDelegate* DataReductionProxyInfoBar::GetDelegate() {

Powered by Google App Engine
This is Rietveld 408576698