| Index: chrome/common/chrome_content_client.cc
|
| diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc
|
| index 98642532d06126af7d54eadbbd7afe62fc8ad6ea..c30d2037b6bf4ca5569c730d749d95b88fb5a01a 100644
|
| --- a/chrome/common/chrome_content_client.cc
|
| +++ b/chrome/common/chrome_content_client.cc
|
| @@ -435,7 +435,7 @@ std::string ChromeContentClient::GetUserAgent() const {
|
| product += version_info.is_valid() ? version_info.Version() : "0.0.0.0";
|
| #if defined(OS_ANDROID)
|
| CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| - if (!command_line->HasSwitch(switches::kTabletUi)) {
|
| + if (!command_line->HasSwitch(switches::kUseMobileUserAgent)) {
|
| product += " Mobile";
|
| }
|
| #endif
|
|
|