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

Unified Diff: webkit/browser/blob/local_file_stream_reader.cc

Issue 16155009: Update webkit/ 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
Index: webkit/browser/blob/local_file_stream_reader.cc
diff --git a/webkit/browser/blob/local_file_stream_reader.cc b/webkit/browser/blob/local_file_stream_reader.cc
index 5c13de4717fccbfcffcf16ffc00eddbd4cc20835..a550016a2c70a47b45aa8e93af3e8aa209546a2e 100644
--- a/webkit/browser/blob/local_file_stream_reader.cc
+++ b/webkit/browser/blob/local_file_stream_reader.cc
@@ -60,9 +60,11 @@ int LocalFileStreamReader::Read(net::IOBuffer* buf, int buf_len,
int64 LocalFileStreamReader::GetLength(
const net::Int64CompletionCallback& callback) {
const bool posted = base::FileUtilProxy::GetFileInfo(
- task_runner_, file_path_,
+ task_runner_.get(),
+ file_path_,
base::Bind(&LocalFileStreamReader::DidGetFileInfoForGetLength,
- weak_factory_.GetWeakPtr(), callback));
+ weak_factory_.GetWeakPtr(),
+ callback));
DCHECK(posted);
return net::ERR_IO_PENDING;
}
« no previous file with comments | « webkit/browser/blob/blob_url_request_job_unittest.cc ('k') | webkit/browser/blob/local_file_stream_reader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698