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

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

Issue 1815363002: Add RetainedRef uses where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/native_media_file_util.cc
diff --git a/chrome/browser/media_galleries/fileapi/native_media_file_util.cc b/chrome/browser/media_galleries/fileapi/native_media_file_util.cc
index f0efdb695beac29ace1de07a34858f9edf59c2fb..ee3a1d3a6cff58a53f4484a30a4a5e2d12bcc49a 100644
--- a/chrome/browser/media_galleries/fileapi/native_media_file_util.cc
+++ b/chrome/browser/media_galleries/fileapi/native_media_file_util.cc
@@ -135,7 +135,7 @@ void NativeMediaFileUtil::CreateOrOpen(
CreateSnapshotFile(
std::move(context), url,
base::Bind(&NativeMediaFileUtil::CreatedSnapshotFileForCreateOrOpen,
- task_runner, file_flags, callback));
+ base::RetainedRef(task_runner), file_flags, callback));
}
void NativeMediaFileUtil::EnsureFileExists(

Powered by Google App Engine
This is Rietveld 408576698