Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1073)

Unified Diff: chrome/browser/ui/omnibox/location_bar_util.cc

Issue 89243003: Move EmptyString, kWhitespace and the BOM to base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/omnibox/location_bar_util.cc
diff --git a/chrome/browser/ui/omnibox/location_bar_util.cc b/chrome/browser/ui/omnibox/location_bar_util.cc
index 71220d3f05b4cdd2bfc63b80e92407890e5d31e8..8bfffbd498626677526610689013b8baa4220ecf 100644
--- a/chrome/browser/ui/omnibox/location_bar_util.cc
+++ b/chrome/browser/ui/omnibox/location_bar_util.cc
@@ -19,7 +19,7 @@ namespace location_bar_util {
string16 CalculateMinString(const string16& description) {
// Chop at the first '.' or whitespace.
const size_t dot_index = description.find('.');
- const size_t ws_index = description.find_first_of(kWhitespaceUTF16);
+ const size_t ws_index = description.find_first_of(base::kWhitespaceUTF16);
size_t chop_index = std::min(dot_index, ws_index);
string16 min_string;
if (chop_index == string16::npos) {
« no previous file with comments | « chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc ('k') | chrome/browser/ui/views/omnibox/omnibox_view_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698