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

Unified Diff: content/common/set_process_title.cc

Issue 1182183003: Move EndsWith to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | « content/browser/webui/web_ui_data_source_impl.cc ('k') | dbus/string_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/set_process_title.cc
diff --git a/content/common/set_process_title.cc b/content/common/set_process_title.cc
index 74651ca6c3e437e365d0f7309a84a6f34edd3a6e..229524e6874072085c934f789de0cd4d4d5d429e 100644
--- a/content/common/set_process_title.cc
+++ b/content/common/set_process_title.cc
@@ -59,7 +59,7 @@ void SetProcessTitleFromCommandLine(const char** main_argv) {
// If the binary has since been deleted, Linux appends " (deleted)" to the
// symlink target. Remove it, since this is not really part of our name.
const std::string kDeletedSuffix = " (deleted)";
- if (EndsWith(title, kDeletedSuffix, true))
+ if (base::EndsWith(title, kDeletedSuffix, true))
title.resize(title.size() - kDeletedSuffix.size());
// PR_SET_NAME is available in Linux 2.6.9 and newer.
« no previous file with comments | « content/browser/webui/web_ui_data_source_impl.cc ('k') | dbus/string_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698