Index: components/storage_monitor/volume_mount_watcher_win.cc |
diff --git a/components/storage_monitor/volume_mount_watcher_win.cc b/components/storage_monitor/volume_mount_watcher_win.cc |
index bdc7634c39c8925ebaba6966ba30aa7a320c7a7f..0828db5c6172a80cd17a9bc4ed3b50344a0074fa 100644 |
--- a/components/storage_monitor/volume_mount_watcher_win.cc |
+++ b/components/storage_monitor/volume_mount_watcher_win.cc |
@@ -70,7 +70,7 @@ DeviceType GetDeviceType(const base::string16& mount_point) { |
// Check device strings of the form "X:" and "\\.\X:" |
// For floppy drives, these will return strings like "/Device/Floppy0" |
base::string16 device = mount_point; |
- if (EndsWith(mount_point, L"\\", false)) |
+ if (base::EndsWith(mount_point, L"\\", false)) |
device = mount_point.substr(0, mount_point.length() - 1); |
base::string16 device_path; |
base::string16 device_path_slash; |