Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / base / platform_file.cc
index bb411b8..70700fc 100644 (file)
@@ -14,18 +14,4 @@ PlatformFileInfo::PlatformFileInfo()
 
 PlatformFileInfo::~PlatformFileInfo() {}
 
-#if !defined(OS_NACL)
-PlatformFile CreatePlatformFile(const FilePath& name,
-                                int flags,
-                                bool* created,
-                                PlatformFileError* error) {
-  if (name.ReferencesParent()) {
-    if (error)
-      *error = PLATFORM_FILE_ERROR_ACCESS_DENIED;
-    return kInvalidPlatformFileValue;
-  }
-  return CreatePlatformFileUnsafe(name, flags, created, error);
-}
-#endif
-
 }  // namespace base