Chromium Code Reviews| Index: base/file_util.cc |
| =================================================================== |
| --- base/file_util.cc (revision 175095) |
| +++ base/file_util.cc (working copy) |
| @@ -152,6 +152,8 @@ |
| } |
| bool ReadFileToString(const FilePath& path, std::string* contents) { |
| + if (path.ReferencesParent()) |
|
brettw
2013/01/07 20:50:26
Maybe this warrants a mention in the header as wel
|
| + return false; |
| FILE* file = OpenFile(path, "rb"); |
| if (!file) { |
| return false; |