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

Unified Diff: chrome/service/service_process.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 years, 8 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/service/service_process.cc
diff --git a/chrome/service/service_process.cc b/chrome/service/service_process.cc
index 2cae3769a36893be11fc9908e543e81d04d1c553..32d5cc204fb8f5a3eb3ed5d9dd2096b0088147b9 100644
--- a/chrome/service/service_process.cc
+++ b/chrome/service/service_process.cc
@@ -175,7 +175,8 @@ bool ServiceProcess::Initialize(MessageLoopForUI* message_loop,
} else {
// If no command-line value was specified, read the last used locale from
// the prefs.
- locale = service_prefs_->GetString(prefs::kApplicationLocale, "");
+ locale =
+ service_prefs_->GetString(prefs::kApplicationLocale, std::string());
// If no locale was specified anywhere, use the default one.
if (locale.empty())
locale = kDefaultServiceProcessLocale;
« no previous file with comments | « chrome/service/cloud_print/printer_job_queue_handler_unittest.cc ('k') | chrome/service/service_process_prefs_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698