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

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

Issue 2088443003: Shortcut ctrl+shift+T added on android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add incognito check in native code, based on code review feedback. Created 4 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/android/tab_android.cc
diff --git a/chrome/browser/android/tab_android.cc b/chrome/browser/android/tab_android.cc
index efd00c4aaab7e2cf4591d60c291f952945b7cf13..9e1079b104434d63273b18ee93606dfce3fd0242 100644
--- a/chrome/browser/android/tab_android.cc
+++ b/chrome/browser/android/tab_android.cc
@@ -97,8 +97,10 @@ using content::WebContents;
using navigation_interception::InterceptNavigationDelegate;
using navigation_interception::NavigationParams;
-TabAndroid* TabAndroid::FromWebContents(content::WebContents* web_contents) {
- CoreTabHelper* core_tab_helper = CoreTabHelper::FromWebContents(web_contents);
+TabAndroid* TabAndroid::FromWebContents(
+ const content::WebContents* web_contents) {
+ const CoreTabHelper* core_tab_helper = CoreTabHelper::FromWebContents(
+ web_contents);
if (!core_tab_helper)
return NULL;

Powered by Google App Engine
This is Rietveld 408576698