diff options
Diffstat (limited to 'webkit/fileapi')
-rw-r--r-- | webkit/fileapi/file_system_path_manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/fileapi/file_system_path_manager.cc b/webkit/fileapi/file_system_path_manager.cc index 8ef0631..61aa49e 100644 --- a/webkit/fileapi/file_system_path_manager.cc +++ b/webkit/fileapi/file_system_path_manager.cc @@ -290,7 +290,7 @@ bool FileSystemPathManager::IsAllowedScheme(const GURL& url) const { // static bool FileSystemPathManager::IsRestrictedFileName(const FilePath& filename) { - if (filename.value().size() == 0) + if (filename.value().empty()) return false; if (IsWhitespace(filename.value()[filename.value().size() - 1]) || |