Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1326)

Unified Diff: webkit/chromeos/fileapi/cros_mount_point_provider.cc

Issue 8819025: [filebrowser] Fix the browser_tests using invalid mount point. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()));
}

Powered by Google App Engine
This is Rietveld 408576698