Index: chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc |
diff --git a/chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc b/chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc |
index 9ec60f06023f004ed383f529143f3f7ee5f830a3..f0508a9c723f42e7a4167edd35a6fde6eb525786 100644 |
--- a/chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc |
+++ b/chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc |
@@ -199,7 +199,7 @@ FileBrowserHandler* LoadFileBrowserHandler( |
errors::kInvalidFileFilterValue, base::IntToString(i)); |
return NULL; |
} |
- base::StringToLowerASCII(&filter); |
+ filter = base::ToLowerASCII(filter); |
if (!base::StartsWith(filter, std::string(url::kFileSystemScheme) + ':', |
base::CompareCase::SENSITIVE)) { |
*error = extensions::ErrorUtils::FormatErrorMessageUTF16( |