Index: webkit/glue/webkit_glue.cc |
diff --git a/webkit/glue/webkit_glue.cc b/webkit/glue/webkit_glue.cc |
index 661b87b26df0166f84c51bef3ce8254b5d7d3b05..f7f60aae498b39bf4191e89a2b1e03a9df1551c4 100644 |
--- a/webkit/glue/webkit_glue.cc |
+++ b/webkit/glue/webkit_glue.cc |
@@ -321,6 +321,8 @@ WebKit::WebFileError PlatformFileErrorToWebFileError( |
case base::PLATFORM_FILE_ERROR_INVALID_OPERATION: |
case base::PLATFORM_FILE_ERROR_EXISTS: |
case base::PLATFORM_FILE_ERROR_NOT_A_DIRECTORY: |
+ case base::PLATFORM_FILE_ERROR_NOT_A_FILE: |
+ case base::PLATFORM_FILE_ERROR_NOT_EMPTY: |
return WebKit::WebFileErrorInvalidModification; |
case base::PLATFORM_FILE_ERROR_ACCESS_DENIED: |
return WebKit::WebFileErrorNoModificationAllowed; |