diff options
author | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-21 15:52:52 +0000 |
---|---|---|
committer | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-21 15:52:52 +0000 |
commit | d6c7d1afd26f200341c34789f045391dcae708cd (patch) | |
tree | fe269c1b3c5df07cade1ec5415a354652b0c0adc /webkit | |
parent | fb9b2b3d69e3a428719f75eecb756cc76c72c3c3 (diff) | |
download | chromium_src-d6c7d1afd26f200341c34789f045391dcae708cd.zip chromium_src-d6c7d1afd26f200341c34789f045391dcae708cd.tar.gz chromium_src-d6c7d1afd26f200341c34789f045391dcae708cd.tar.bz2 |
Cleanup: remove unnecessary setter LocalFileSystemOperation::set_write_callback
It doesn't seem necessary as it's only set within the class.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/12043003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177932 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/fileapi/local_file_system_operation.cc | 2 | ||||
-rw-r--r-- | webkit/fileapi/local_file_system_operation.h | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/webkit/fileapi/local_file_system_operation.cc b/webkit/fileapi/local_file_system_operation.cc index ad9a7fb..ab07cf2 100644 --- a/webkit/fileapi/local_file_system_operation.cc +++ b/webkit/fileapi/local_file_system_operation.cc @@ -535,7 +535,7 @@ base::Closure LocalFileSystemOperation::GetWriteClosure( weak_factory_.GetWeakPtr(), url), writer.Pass())); - set_write_callback(callback); + write_callback_ = callback; scoped_ptr<net::URLRequest> blob_request(url_request_context->CreateRequest( blob_url, file_writer_delegate_.get())); diff --git a/webkit/fileapi/local_file_system_operation.h b/webkit/fileapi/local_file_system_operation.h index 69f4a70..ebf4356 100644 --- a/webkit/fileapi/local_file_system_operation.h +++ b/webkit/fileapi/local_file_system_operation.h @@ -260,9 +260,6 @@ class WEBKIT_STORAGE_EXPORT LocalFileSystemOperation // after it resumed from the working thread, cancellation takes place. WriteCallback write_callback_; StatusCallback cancel_callback_; - void set_write_callback(const WriteCallback& write_callback) { - write_callback_ = write_callback; - } // Used only by OpenFile, in order to clone the file handle back to the // requesting process. |