Index: chrome/browser/chrome_browser_field_trials.cc |
diff --git a/chrome/browser/chrome_browser_field_trials.cc b/chrome/browser/chrome_browser_field_trials.cc |
index 69fac07e38c02d44ee3bab2be872a35d54c4a30a..e68926d578093d26d6a76fc8b263fc6616b2d772 100644 |
--- a/chrome/browser/chrome_browser_field_trials.cc |
+++ b/chrome/browser/chrome_browser_field_trials.cc |
@@ -73,6 +73,7 @@ void InstantiatePersistentHistograms() { |
const uint32_t kAllocId = 0x935DDD43; // SHA1(BrowserMetrics) |
std::string storage = variations::GetVariationParamValueByFeature( |
base::kPersistentHistogramsFeature, "storage"); |
+ |
if (storage == "MappedFile") { |
// If for some reason the existing "active" file could not be moved above |
// then it is essential it be scheduled for deletion when possible and the |
@@ -98,7 +99,7 @@ void InstantiatePersistentHistograms() { |
result = MAPPED_FILE_FAILED; |
} |
} |
- } else if (storage == "LocalMemory") { |
+ } else if (storage.empty() || storage == "LocalMemory") { |
// Use local memory for storage even though it will not persist across |
// an unclean shutdown. |
base::GlobalHistogramAllocator::CreateWithLocalMemory( |