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

Unified Diff: content/browser/gpu/compositor_util.cc

Issue 2779893005: Continue to clean c_str() calls. (Closed)
Patch Set: Revert changes in font_service_app.cc Created 3 years, 9 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 | « content/browser/devtools/devtools_http_handler.cc ('k') | printing/backend/print_backend_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/compositor_util.cc
diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc
index 7607f7722b840f1a37ab7658d83e49eea68ca977..ea707db6c702b7cd128e101a3f5dfe2022d3185e 100644
--- a/content/browser/gpu/compositor_util.cc
+++ b/content/browser/gpu/compositor_util.cc
@@ -356,8 +356,7 @@ base::DictionaryValue* GetFeatureStatus() {
status = "unavailable_software";
}
- feature_status_dict->SetString(
- gpu_feature_info.name.c_str(), status.c_str());
+ feature_status_dict->SetString(gpu_feature_info.name, status);
}
return feature_status_dict;
}
« no previous file with comments | « content/browser/devtools/devtools_http_handler.cc ('k') | printing/backend/print_backend_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698