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

Unified Diff: chrome/browser/android/tab_android.cc

Issue 2894973002: Provide WebContents::CreateParams to tab helpers. (Closed)
Patch Set: rebase Created 3 years, 7 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/android/tab_android.cc
diff --git a/chrome/browser/android/tab_android.cc b/chrome/browser/android/tab_android.cc
index 8b2dad9eaaf917c3a279ccc1ad3ff0dbd96aaa15..005669d1972a18eecc865d99ba76532548b442e1 100644
--- a/chrome/browser/android/tab_android.cc
+++ b/chrome/browser/android/tab_android.cc
@@ -119,7 +119,7 @@ TabAndroid* TabAndroid::GetNativeTab(JNIEnv* env, const JavaRef<jobject>& obj) {
void TabAndroid::AttachTabHelpers(content::WebContents* web_contents) {
DCHECK(web_contents);
- TabHelpers::AttachTabHelpers(web_contents);
+ TabHelpers::AttachTabHelpers(web_contents, base::nullopt);
Avi (use Gerrit) 2017/05/23 15:38:59 Is this not susceptible to the same issue? You may
Bryan McQuade 2017/05/23 20:29:57 This path doesn't appear to be the one that's exer
boliu 2017/05/23 21:16:28 It comes from https://cs.chromium.org/chromium/src
Bryan McQuade 2017/05/25 03:19:12 Copying the earlier discussion into the appropriat
Maria 2017/05/25 05:12:20 So do the metrics work correctly on Android? Is th
Bryan McQuade 2017/05/26 00:39:44 Metrics work on Android as well. This change inclu
}
TabAndroid::TabAndroid(JNIEnv* env, const JavaRef<jobject>& obj)

Powered by Google App Engine
This is Rietveld 408576698