Index: chrome_frame/html_utils.cc |
diff --git a/chrome_frame/html_utils.cc b/chrome_frame/html_utils.cc |
index 9458166657b77afeb561027a3d547433dd8f25cb..3121a756fa786fa0556201e1625e6171e5bde094 100644 |
--- a/chrome_frame/html_utils.cc |
+++ b/chrome_frame/html_utils.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
// |
@@ -385,7 +385,7 @@ const char* GetChromeUserAgent() { |
product += version_info.is_valid() ? version_info.Version() |
: "0.0.0.0"; |
- ua = webkit_glue::BuildUserAgentHelper(false, product); |
+ ua = webkit_glue::BuildUserAgentFromProduct(product); |
DCHECK(ua.length() < arraysize(g_chrome_user_agent)); |
lstrcpynA(g_chrome_user_agent, ua.c_str(), |