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

Unified Diff: ui/views/corewm/tooltip_controller.cc

Issue 183853011: Move TrimWhitespace to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months 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
« no previous file with comments | « ui/views/controls/styled_label.cc ('k') | win8/delegate_execute/delegate_execute_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/corewm/tooltip_controller.cc
diff --git a/ui/views/corewm/tooltip_controller.cc b/ui/views/corewm/tooltip_controller.cc
index 6905cc2b9bc144b711664d1f9820e2b8f65ba522..c5e621bd1e009fda49154ccc50006fed4dcc1146 100644
--- a/ui/views/corewm/tooltip_controller.cc
+++ b/ui/views/corewm/tooltip_controller.cc
@@ -288,7 +288,8 @@ void TooltipController::UpdateIfRequired() {
// If the string consists entirely of whitespace, then don't both showing it
// (an empty tooltip is useless).
base::string16 whitespace_removed_text;
- TrimWhitespace(trimmed_text, TRIM_ALL, &whitespace_removed_text);
+ base::TrimWhitespace(trimmed_text, base::TRIM_ALL,
+ &whitespace_removed_text);
if (whitespace_removed_text.empty()) {
tooltip_->Hide();
} else {
« no previous file with comments | « ui/views/controls/styled_label.cc ('k') | win8/delegate_execute/delegate_execute_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698