Index: webkit/chromeos/fileapi/cros_mount_point_provider.cc |
=================================================================== |
--- webkit/chromeos/fileapi/cros_mount_point_provider.cc (revision 113190) |
+++ webkit/chromeos/fileapi/cros_mount_point_provider.cc (working copy) |
@@ -133,6 +133,7 @@ |
void CrosMountPointProvider::AddMountPoint(FilePath mount_point) { |
base::AutoLock locker(lock_); |
+ mount_point_map_.erase(mount_point.BaseName().value()); |
mount_point_map_.insert(std::pair<std::string, FilePath>( |
SeRya
2011/12/06 16:18:31
This two line are equal to:
mount_point_map_[moun
|
mount_point.BaseName().value(), mount_point.DirName())); |
} |