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

Unified Diff: chrome/browser/sync_file_system/drive_backend/drive_uploader_on_worker.cc

Issue 506793002: Remove implicit conversions from scoped_refptr to T* in chrome/browser/sync_file_system/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/sync_file_system/drive_backend/drive_uploader_on_worker.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/drive_uploader_on_worker.cc b/chrome/browser/sync_file_system/drive_backend/drive_uploader_on_worker.cc
index b8b1ddc3f7c7b34aa458e515dbec01fc84b665b2..fa5972535309478be7cf19bd0fe879b2a3ac1744 100644
--- a/chrome/browser/sync_file_system/drive_backend/drive_uploader_on_worker.cc
+++ b/chrome/browser/sync_file_system/drive_backend/drive_uploader_on_worker.cc
@@ -48,9 +48,7 @@ google_apis::CancelCallback DriveUploaderOnWorker::UploadNewFile(
content_type,
options,
RelayCallbackToTaskRunner(
- worker_task_runner_,
- FROM_HERE,
- callback)));
+ worker_task_runner_.get(), FROM_HERE, callback)));
return google_apis::CancelCallback();
}
@@ -73,9 +71,7 @@ google_apis::CancelCallback DriveUploaderOnWorker::UploadExistingFile(
content_type,
options,
RelayCallbackToTaskRunner(
- worker_task_runner_,
- FROM_HERE,
- callback)));
+ worker_task_runner_.get(), FROM_HERE, callback)));
return google_apis::CancelCallback();
}

Powered by Google App Engine
This is Rietveld 408576698