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

Unified Diff: base/environment.cc

Issue 1171973003: Move StringToUpperASCII 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 | « no previous file | base/files/file_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/environment.cc
diff --git a/base/environment.cc b/base/environment.cc
index 6cf7a18cbb704d7072c74edf6a0ca52d7da3a988..245051d0c1840688552d1fa453356be8e20cc236 100644
--- a/base/environment.cc
+++ b/base/environment.cc
@@ -20,7 +20,7 @@ namespace base {
namespace {
-class EnvironmentImpl : public base::Environment {
+class EnvironmentImpl : public Environment {
public:
bool GetVar(const char* variable_name, std::string* result) override {
if (GetVarImpl(variable_name, result))
@@ -35,7 +35,7 @@ class EnvironmentImpl : public base::Environment {
if (first_char >= 'a' && first_char <= 'z')
alternate_case_var = StringToUpperASCII(std::string(variable_name));
else if (first_char >= 'A' && first_char <= 'Z')
- alternate_case_var = base::StringToLowerASCII(std::string(variable_name));
+ alternate_case_var = StringToLowerASCII(std::string(variable_name));
else
return false;
return GetVarImpl(alternate_case_var.c_str(), result);
« no previous file with comments | « no previous file | base/files/file_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698