Index: chromeos/dbus/cros_disks_client.cc |
diff --git a/chromeos/dbus/cros_disks_client.cc b/chromeos/dbus/cros_disks_client.cc |
index fd1183f9276edefbe0465ff1bf33ff5ae01988e3..84ae31232245194cb1bf4aaca745727c3430922a 100644 |
--- a/chromeos/dbus/cros_disks_client.cc |
+++ b/chromeos/dbus/cros_disks_client.cc |
@@ -409,7 +409,7 @@ class CrosDisksClientStubImpl : public CrosDisksClient { |
// Remove the directory created in Mount(). |
base::WorkerPool::PostTaskAndReply( |
FROM_HERE, |
- base::Bind(base::IgnoreResult(&base::Delete), |
+ base::Bind(base::IgnoreResult(&base::DeleteFile), |
base::FilePath::FromUTF8Unsafe(device_path), |
true /* recursive */), |
callback, |