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

Unified Diff: gpu/config/gpu_info_collector_mac.mm

Issue 102843002: Move RemoveChars, ReplaceChars, TrimString, and TruncateUTF8ToByteSize to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
Index: gpu/config/gpu_info_collector_mac.mm
diff --git a/gpu/config/gpu_info_collector_mac.mm b/gpu/config/gpu_info_collector_mac.mm
index 1f7fad1ad20a5eb2173bbfefc0bd43158fe08480..c2164394ebdff2c61ffdcf7dba83b95e27527dcf 100644
--- a/gpu/config/gpu_info_collector_mac.mm
+++ b/gpu/config/gpu_info_collector_mac.mm
@@ -190,7 +190,7 @@ bool CollectBasicGraphicsInfo(GPUInfo* gpu_info) {
int32 model_major = 0, model_minor = 0;
base::mac::ParseModelIdentifier(base::mac::GetModelIdentifier(),
&model_name, &model_major, &model_minor);
- ReplaceChars(model_name, " ", "_", &gpu_info->machine_model);
+ base::ReplaceChars(model_name, " ", "_", &gpu_info->machine_model);
gpu_info->machine_model += " " + base::IntToString(model_major) +
"." + base::IntToString(model_minor);

Powered by Google App Engine
This is Rietveld 408576698