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

Unified Diff: components/web_contents_delegate_android/web_contents_delegate_android.cc

Issue 22314005: [Android] On calling openNewTab, pass the disposition instead of incognito. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reverted copyright year update Created 7 years, 4 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: components/web_contents_delegate_android/web_contents_delegate_android.cc
diff --git a/components/web_contents_delegate_android/web_contents_delegate_android.cc b/components/web_contents_delegate_android/web_contents_delegate_android.cc
index f2003c928bdb644ec2932de1a4a8d397b546ed2b..8f599a16b03bcb97f0e50d73b32dc5f7f20474b1 100644
--- a/components/web_contents_delegate_android/web_contents_delegate_android.cc
+++ b/components/web_contents_delegate_android/web_contents_delegate_android.cc
@@ -103,7 +103,7 @@ WebContents* WebContentsDelegateAndroid::OpenURLFromTab(
java_url.obj(),
extra_headers.obj(),
post_data.obj(),
- disposition == OFF_THE_RECORD);
+ disposition);
return NULL;
}

Powered by Google App Engine
This is Rietveld 408576698