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

Unified Diff: chrome/browser/chromeos/display/display_preferences.cc

Issue 1358783002: Cleanup: Pass std::string as const reference from chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase against ToT Created 5 years, 3 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
Index: chrome/browser/chromeos/display/display_preferences.cc
diff --git a/chrome/browser/chromeos/display/display_preferences.cc b/chrome/browser/chromeos/display/display_preferences.cc
index 45b242c24a8c029af79d71c730afc2f449c3e251..069ed6eaf24f87a3fd191bfedb7b26422885a938 100644
--- a/chrome/browser/chromeos/display/display_preferences.cc
+++ b/chrome/browser/chromeos/display/display_preferences.cc
@@ -80,7 +80,7 @@ std::string ColorProfileToString(ui::ColorCalibrationProfile profile) {
return "";
}
-ui::ColorCalibrationProfile StringToColorProfile(std::string value) {
+ui::ColorCalibrationProfile StringToColorProfile(const std::string& value) {
if (value == "standard")
return ui::COLOR_PROFILE_STANDARD;
else if (value == "dynamic")
« no previous file with comments | « chrome/browser/android/history_report/delta_file_backend_leveldb.cc ('k') | chrome/browser/chromeos/drive/file_system_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698