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

Unified Diff: gpu/command_buffer/service/program_manager.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 | « google_apis/gaia/gaia_auth_fetcher_unittest.cc ('k') | ios/web/webui/web_ui_ios_data_source_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/program_manager.cc
diff --git a/gpu/command_buffer/service/program_manager.cc b/gpu/command_buffer/service/program_manager.cc
index 896669fca3b294e8ac32d95eecb8d25cd64234c8..b1167b6969693e0ad4c4d20fc0b76b2ccbd6fbb2 100644
--- a/gpu/command_buffer/service/program_manager.cc
+++ b/gpu/command_buffer/service/program_manager.cc
@@ -841,7 +841,7 @@ void Program::GetCorrectedUniformData(
found = uniform->findInfoByMappedName(name, &info, original_name);
if (found) {
const std::string kArraySpec("[0]");
- if (info->arraySize > 0 && !EndsWith(name, kArraySpec, true)) {
+ if (info->arraySize > 0 && !base::EndsWith(name, kArraySpec, true)) {
*corrected_name = name + kArraySpec;
*original_name += kArraySpec;
} else {
« no previous file with comments | « google_apis/gaia/gaia_auth_fetcher_unittest.cc ('k') | ios/web/webui/web_ui_ios_data_source_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698