Chromium Code Reviews| Index: chrome/common/chrome_content_client.cc |
| diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc |
| index df9d5072dd3374e90fb874b37ab5dadc698d3ee2..e086d765e8da6acea54618bd7db81e186399842b 100644 |
| --- a/chrome/common/chrome_content_client.cc |
| +++ b/chrome/common/chrome_content_client.cc |
| @@ -438,7 +438,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)) { |
|
gone
2012/07/25 18:56:09
The conditional is flipped here.
benm (inactive)
2012/07/26 09:43:36
ah shoot! Thanks for spotting, sorry for merge pai
|
| product += " Mobile"; |
| } |
| #endif |