Index: chrome/browser/dom_ui/options/dom_options_util.cc |
diff --git a/chrome/browser/dom_ui/options/dom_options_util.cc b/chrome/browser/dom_ui/options/dom_options_util.cc |
index 2eb8ec33050467af2a1e81679b945bd10f1f218b..f528a47746800761a7f1e09f29f2767eadfece11 100644 |
--- a/chrome/browser/dom_ui/options/dom_options_util.cc |
+++ b/chrome/browser/dom_ui/options/dom_options_util.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2010 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. |
@@ -8,12 +8,10 @@ |
namespace dom_options_util { |
-// TODO(estade): update all strings that have a trailing colon once we get rid |
-// of the native dialogs. |
string16 StripColon(const string16& str) { |
- const string16::value_type kColon[] = { ':', 0 }; |
+ const string16::value_type kColon[] = {':',0}; |
string16 result; |
- TrimString(str, kColon, &result); |
+ RemoveChars(str, kColon, &result); |
return result; |
} |