From 574b04420530b62321e47610e7edbcac2165830e Mon Sep 17 00:00:00 2001 From: "kinuko@chromium.org" Date: Thu, 23 Aug 2012 14:40:28 +0000 Subject: Removing unused IsRootDirectory method in obfuscated_file_util BUG=none Review URL: https://chromiumcodereview.appspot.com/10879031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152990 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/fileapi/obfuscated_file_util.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/webkit/fileapi/obfuscated_file_util.cc b/webkit/fileapi/obfuscated_file_util.cc index 2b66d60..bab9348 100644 --- a/webkit/fileapi/obfuscated_file_util.cc +++ b/webkit/fileapi/obfuscated_file_util.cc @@ -54,11 +54,6 @@ void InitFileInfo( file_info->name = file_name; } -bool IsRootDirectory(const FileSystemURL& url) { - return (url.path().empty() || - url.path().value() == FILE_PATH_LITERAL("/")); -} - // Costs computed as per crbug.com/86114, based on the LevelDB implementation of // path storage under Linux. It's not clear if that will differ on Windows, on // which FilePath uses wide chars [since they're converted to UTF-8 for storage -- cgit v1.1