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

Unified Diff: sync/syncable/model_type.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-run on ToT, revert third_party changes and fix vexing parses. 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: sync/syncable/model_type.cc
diff --git a/sync/syncable/model_type.cc b/sync/syncable/model_type.cc
index 2657ebc0fb8a353ee4e90ad866f198d42b954329..eb28f375cd93a7ae575df58a306568442ade7808 100644
--- a/sync/syncable/model_type.cc
+++ b/sync/syncable/model_type.cc
@@ -523,7 +523,7 @@ base::StringValue* ModelTypeToValue(ModelType model_type) {
return new base::StringValue("Unspecified");
}
NOTREACHED();
- return new base::StringValue("");
+ return new base::StringValue(std::string());
}
ModelType ModelTypeFromValue(const base::Value& value) {

Powered by Google App Engine
This is Rietveld 408576698