Index: chrome/browser/extensions/api/file_system/file_system_api.cc |
diff --git a/chrome/browser/extensions/api/file_system/file_system_api.cc b/chrome/browser/extensions/api/file_system/file_system_api.cc |
index a2a5182967813a4ec0c247266a62dda475836f44..235b770ad55e5c4f4119d7599ddf26543c7cbc5c 100644 |
--- a/chrome/browser/extensions/api/file_system/file_system_api.cc |
+++ b/chrome/browser/extensions/api/file_system/file_system_api.cc |
@@ -85,12 +85,8 @@ const int kWhitelistedPaths[] = { |
// Retrieves the localized display name for the base name of the given path. |
// If the path is not localized, this will just return the base name. |
std::string GetDisplayBaseName(const base::FilePath& path) { |
- base::mac::ScopedCFTypeRef<CFURLRef> url( |
- CFURLCreateFromFileSystemRepresentation( |
- NULL, |
- (const UInt8*)path.value().c_str(), |
- path.value().length(), |
- true)); |
+ base::ScopedCFTypeRef<CFURLRef> url(CFURLCreateFromFileSystemRepresentation( |
+ NULL, (const UInt8*)path.value().c_str(), path.value().length(), true)); |
if (!url) |
return path.BaseName().value(); |