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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_views.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/views/omnibox/omnibox_view_views.cc
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
index d2539f8e0584349ff82fdd5ecb53e6948835320e..296ff8539afafe0e74ce7c0a44ec16a780a8fe51 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
@@ -494,8 +494,8 @@ void OmniboxViewViews::SetWindowTextAndCaretPos(const string16& text,
}
void OmniboxViewViews::SetForcedQuery() {
- const string16 current_text(text());
- const size_t start = current_text.find_first_not_of(kWhitespaceUTF16);
+ const base::string16 current_text(text());
+ const size_t start = current_text.find_first_not_of(base::kWhitespaceUTF16);
if (start == string16::npos || (current_text[start] != '?'))
OmniboxView::SetUserText(ASCIIToUTF16("?"));
else
« no previous file with comments | « chrome/browser/ui/omnibox/location_bar_util.cc ('k') | chrome/common/extensions/api/i18n/default_locale_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698