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

Unified Diff: chrome/app/delay_load_hook_win.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 | « base/strings/string_util.cc ('k') | chrome/browser/android/preferences/website_preference_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/delay_load_hook_win.cc
diff --git a/chrome/app/delay_load_hook_win.cc b/chrome/app/delay_load_hook_win.cc
index e81407cf0c394606c73f488708497276d4016f05..6afac884ac5e27e452acb34ab82e07ba9ba39dc5 100644
--- a/chrome/app/delay_load_hook_win.cc
+++ b/chrome/app/delay_load_hook_win.cc
@@ -28,7 +28,7 @@ FARPROC OnPreLoadLibrary(DelayLoadInfo* info) {
// and bind to the real DLL.
std::string dll_name(info->szDll);
const char kDelaySuffix[] = "-delay.dll";
- if (EndsWith(dll_name, kDelaySuffix, false)) {
+ if (base::EndsWith(dll_name, kDelaySuffix, false)) {
// Trim the "-delay.dll" suffix from the string.
dll_name.resize(dll_name.length() - (sizeof(kDelaySuffix) - 1));
dll_name.append(".dll");
« no previous file with comments | « base/strings/string_util.cc ('k') | chrome/browser/android/preferences/website_preference_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698