Index: chrome/browser/extensions/extension_prefs.cc |
diff --git a/chrome/browser/extensions/extension_prefs.cc b/chrome/browser/extensions/extension_prefs.cc |
index 0f1d7439e067f7f646fecc3591523c1644dd483d..b24e0e7d22b2761587a6639eda5e1546463436c8 100644 |
--- a/chrome/browser/extensions/extension_prefs.cc |
+++ b/chrome/browser/extensions/extension_prefs.cc |
@@ -1670,7 +1670,8 @@ void ExtensionPrefs::SetDelayedInstallInfo( |
if (extension->RequiresSortOrdinal()) { |
extension_dict->SetString( |
kPrefSuggestedPageOrdinal, |
- page_ordinal.IsValid() ? page_ordinal.ToInternalValue() : ""); |
+ page_ordinal.IsValid() ? page_ordinal.ToInternalValue() |
+ : std::string()); |
} |
UpdateExtensionPref(extension->id(), kDelayedInstallInfo, extension_dict); |