Index: net/base/file_stream_context.cc |
diff --git a/net/base/file_stream_context.cc b/net/base/file_stream_context.cc |
index eeb68932e712d0adf173a4ae92ba751698b23be3..3d49bc0a5fd49ebcd978fc998ff751a8673526d7 100644 |
--- a/net/base/file_stream_context.cc |
+++ b/net/base/file_stream_context.cc |
@@ -116,19 +116,14 @@ void FileStream::Context::Close(const CompletionCallback& callback) { |
async_in_progress_ = true; |
} |
-void FileStream::Context::Seek(base::File::Whence whence, |
- int64 offset, |
+void FileStream::Context::Seek(int64 offset, |
const Int64CompletionCallback& callback) { |
DCHECK(!async_in_progress_); |
bool posted = base::PostTaskAndReplyWithResult( |
- task_runner_.get(), |
- FROM_HERE, |
- base::Bind( |
- &Context::SeekFileImpl, base::Unretained(this), whence, offset), |
- base::Bind(&Context::OnAsyncCompleted, |
- base::Unretained(this), |
- callback)); |
+ task_runner_.get(), FROM_HERE, |
+ base::Bind(&Context::SeekFileImpl, base::Unretained(this), offset), |
+ base::Bind(&Context::OnAsyncCompleted, base::Unretained(this), callback)); |
DCHECK(posted); |
async_in_progress_ = true; |