Index: webkit/glue/webfilesystem_impl.cc |
=================================================================== |
--- webkit/glue/webfilesystem_impl.cc (revision 52083) |
+++ webkit/glue/webfilesystem_impl.cc (working copy) |
@@ -59,8 +59,8 @@ |
} |
WebString WebFileSystemImpl::directoryName(const WebString& path) { |
- NOTREACHED(); |
- return WebString(); |
+ FilePath file_path(WebStringToFilePathString(path)); |
+ return FilePathToWebString(file_path.DirName()); |
} |
WebString WebFileSystemImpl::pathByAppendingComponent( |