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

Unified Diff: chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc

Issue 10808052: Tidy up Android's is-tablet functionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 5 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/webui/ntp/ntp_resource_cache_android.cc
diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc b/chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc
index d6a3707e5fff35906c098b282955f555a4985bbf..34945e2575561eeff8d061db53de44bfab9e2722 100644
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc
@@ -80,7 +80,7 @@ void NTPResourceCache::CreateNewTabHTML() {
ui::SCALE_FACTOR_NONE));
localized_strings.SetString(
"device",
- CommandLine::ForCurrentProcess()->HasSwitch(switches::kTabletUi) ?
+ CommandLine::ForCurrentProcess()->HasSwitch(switches::kTabletUI) ?
"tablet" : "phone");
const char* new_tab_link = kLearnMoreIncognitoUrl;
string16 learnMoreLink = ASCIIToUTF16(

Powered by Google App Engine
This is Rietveld 408576698