| Index: webkit/glue/user_agent.cc
|
| diff --git a/webkit/glue/user_agent.cc b/webkit/glue/user_agent.cc
|
| index 7f9b43882e9f64f54a90e5be21f3776d7a9f66d7..73645f5ce3b498c40382266d4a54e82547aab1b6 100644
|
| --- a/webkit/glue/user_agent.cc
|
| +++ b/webkit/glue/user_agent.cc
|
| @@ -113,8 +113,7 @@ int GetWebKitMinorVersion() {
|
| return WEBKIT_VERSION_MINOR;
|
| }
|
|
|
| -std::string BuildUserAgentHelper(bool mimic_windows,
|
| - const std::string& product) {
|
| +std::string BuildUserAgentHelper(const std::string& product) {
|
| const char kUserAgentPlatform[] =
|
| #if defined(OS_WIN)
|
| "";
|
| @@ -137,7 +136,7 @@ std::string BuildUserAgentHelper(bool mimic_windows,
|
| &user_agent,
|
| "Mozilla/5.0 (%s%s) AppleWebKit/%d.%d"
|
| " (KHTML, like Gecko) %s Safari/%d.%d",
|
| - mimic_windows ? "Windows " : kUserAgentPlatform,
|
| + kUserAgentPlatform,
|
| webkit_glue::BuildOSCpuInfo().c_str(),
|
| WEBKIT_VERSION_MAJOR,
|
| WEBKIT_VERSION_MINOR,
|
|
|