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

Unified Diff: base/files/file_util_proxy.cc

Issue 16160015: Update base/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
« no previous file with comments | « base/callback_internal.cc ('k') | base/memory/weak_ptr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/file_util_proxy.cc
diff --git a/base/files/file_util_proxy.cc b/base/files/file_util_proxy.cc
index f18d52b6650e028f50beb34dcfdad48000383151..ead5a3887f63d7f3e8e630c0cd5cdad0ea318c97 100644
--- a/base/files/file_util_proxy.cc
+++ b/base/files/file_util_proxy.cc
@@ -68,8 +68,8 @@ class CreateTemporaryHelper {
~CreateTemporaryHelper() {
if (file_handle_ != kInvalidPlatformFileValue) {
- FileUtilProxy::Close(task_runner_, file_handle_,
- FileUtilProxy::StatusCallback());
+ FileUtilProxy::Close(
+ task_runner_.get(), file_handle_, FileUtilProxy::StatusCallback());
}
}
« no previous file with comments | « base/callback_internal.cc ('k') | base/memory/weak_ptr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698