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

Unified Diff: chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc

Issue 578533002: Removing remaining CrOS implicit conversions from scoped_refptr to T* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/chromeos/file_system_provider/fake_provided_file_system.cc
diff --git a/chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc b/chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc
index 6c2cb64db0a87b84f9ca604e11d1cc2020590806..b33477477c586e6c6d91e7a70ce2f437150fcae5 100644
--- a/chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc
+++ b/chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc
@@ -218,7 +218,7 @@ ProvidedFileSystemInterface::AbortCallback FakeProvidedFileSystem::ReadFile(
const bool has_more =
(current_offset + 1 < entry->metadata->size) && (current_length - 1);
const int task_id = tracker_.PostTask(
- base::MessageLoopProxy::current(),
+ base::MessageLoopProxy::current().get(),
FROM_HERE,
base::Bind(
callback, 1 /* chunk_length */, has_more, base::File::FILE_OK));
@@ -344,8 +344,8 @@ FakeProvidedFileSystem::GetWeakPtr() {
ProvidedFileSystemInterface::AbortCallback
FakeProvidedFileSystem::PostAbortableTask(const base::Closure& callback) {
- const int task_id =
- tracker_.PostTask(base::MessageLoopProxy::current(), FROM_HERE, callback);
+ const int task_id = tracker_.PostTask(
+ base::MessageLoopProxy::current().get(), FROM_HERE, callback);
return base::Bind(
&FakeProvidedFileSystem::Abort, weak_ptr_factory_.GetWeakPtr(), task_id);
}
« no previous file with comments | « athena/extensions/shell/extensions_delegate_impl.cc ('k') | chrome/browser/chromeos/fileapi/file_system_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698