| 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 6afac884ac5e27e452acb34ab82e07ba9ba39dc5..52384d411e1ec4120fdbfd3a7cbb53f68d3ec588 100644
|
| --- a/chrome/app/delay_load_hook_win.cc
|
| +++ b/chrome/app/delay_load_hook_win.cc
|
| @@ -28,7 +28,8 @@ FARPROC OnPreLoadLibrary(DelayLoadInfo* info) {
|
| // and bind to the real DLL.
|
| std::string dll_name(info->szDll);
|
| const char kDelaySuffix[] = "-delay.dll";
|
| - if (base::EndsWith(dll_name, kDelaySuffix, false)) {
|
| + if (base::EndsWith(dll_name, kDelaySuffix,
|
| + base::CompareCase::INSENSITIVE_ASCII)) {
|
| // Trim the "-delay.dll" suffix from the string.
|
| dll_name.resize(dll_name.length() - (sizeof(kDelaySuffix) - 1));
|
| dll_name.append(".dll");
|
|
|