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

Unified Diff: chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc

Issue 2230203002: chrome: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed accidental components/ change Created 4 years, 4 months 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: chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc
diff --git a/chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc b/chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc
index 7a7529ef5e1e941b09f007ecba11a872dc20b88d..d433a58c3feb071370288bc5be2bfc191294e6bc 100644
--- a/chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc
+++ b/chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc
@@ -42,7 +42,7 @@ std::unique_ptr<std::string> ReadOnFileThread(const base::FilePath& path) {
result.reset(new std::string);
result->resize(file_info.size);
- if (file.Read(0, string_as_array(result.get()), file_info.size) !=
+ if (file.Read(0, base::string_as_array(result.get()), file_info.size) !=
file_info.size) {
result.reset();
}

Powered by Google App Engine
This is Rietveld 408576698