Index: components/filesystem/public/cpp/prefs/filesystem_json_pref_store.cc |
diff --git a/components/filesystem/public/cpp/prefs/filesystem_json_pref_store.cc b/components/filesystem/public/cpp/prefs/filesystem_json_pref_store.cc |
index ffb93b70079ea76be084d6d5bc83ce720fcdc3cf..9a11f5f870dcbcc68c808318c305f46a316b9496 100644 |
--- a/components/filesystem/public/cpp/prefs/filesystem_json_pref_store.cc |
+++ b/components/filesystem/public/cpp/prefs/filesystem_json_pref_store.cc |
@@ -428,6 +428,7 @@ void FilesystemJsonPrefStore::OnPreferencesFileRead( |
read_only_ = true; |
break; |
} |
+ case FileError::FAILED: |
case FileError::NOT_FOUND: { |
// If the file just doesn't exist, maybe this is the first run. Just |
// don't pass a value. |