From c671c8a5091ae7b84856ec426de8a24dc1a8a7b3 Mon Sep 17 00:00:00 2001 From: "tzik@chromium.org" Date: Thu, 5 Apr 2012 10:28:39 +0000 Subject: Style fix in webkit/fileapi BUG= TEST='cpplint.py will claim less error.' Review URL: http://codereview.chromium.org/9965138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130885 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/fileapi/file_system_dir_url_request_job.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'webkit/fileapi/file_system_dir_url_request_job.cc') diff --git a/webkit/fileapi/file_system_dir_url_request_job.cc b/webkit/fileapi/file_system_dir_url_request_job.cc index 9b9bcfd..af0a934 100644 --- a/webkit/fileapi/file_system_dir_url_request_job.cc +++ b/webkit/fileapi/file_system_dir_url_request_job.cc @@ -52,7 +52,6 @@ FileSystemDirURLRequestJob::~FileSystemDirURLRequestJob() { bool FileSystemDirURLRequestJob::ReadRawData(net::IOBuffer* dest, int dest_size, int *bytes_read) { - int count = std::min(dest_size, static_cast(data_.size())); if (count > 0) { memcpy(dest->data(), data_.data(), count); -- cgit v1.1