| Index: base/platform_file.cc | 
| =================================================================== | 
| --- base/platform_file.cc	(revision 175095) | 
| +++ base/platform_file.cc	(working copy) | 
| @@ -14,4 +14,15 @@ | 
|  | 
| PlatformFileInfo::~PlatformFileInfo() {} | 
|  | 
| +PlatformFile CreatePlatformFile(const FilePath& name, | 
| +                                int flags, | 
| +                                bool* created, | 
| +                                PlatformFileError* error_code) { | 
| +  if (name.ReferencesParent()) { | 
| +    *error_code = PLATFORM_FILE_ERROR_ACCESS_DENIED; | 
| +    return kInvalidPlatformFileValue; | 
| +  } | 
| +  return CreatePlatformFileAllowTraversal(name, flags, created, error_code); | 
| +} | 
| + | 
| }  // namespace base | 
|  |