Skip to content
Snippets Groups Projects
Commit ae82ee69 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Upgrade zlib to 09490503" am: 9d1908c2

Original change: https://android-review.googlesource.com/c/platform/external/zlib/+/1662840

Change-Id: I2663b50bde6017b30e96a2f96912a386498e3fdd
parents 56a2d437 9d1908c2
No related branches found
No related tags found
No related merge requests found
......@@ -5,11 +5,11 @@ third_party {
type: GIT
value: "https://chromium.googlesource.com/chromium/src/third_party/zlib/"
}
version: "bf44340d1b6be1af8950bbdf664fec0cf5a831cc"
version: "09490503d0f201b81e03f5ca0ab8ba8ee76d4a8e"
license_type: NOTICE
last_upgrade_date {
year: 2021
month: 2
day: 5
month: 4
day: 1
}
}
......@@ -101,7 +101,7 @@ ZipReader::EntryInfo::EntryInfo(const std::string& file_name_in_zip,
is_unsafe_ = file_path_.ReferencesParent();
// We also consider that the file name is unsafe, if it's invalid UTF-8.
base::string16 file_name_utf16;
std::u16string file_name_utf16;
if (!base::UTF8ToUTF16(file_name_in_zip.data(), file_name_in_zip.size(),
&file_name_utf16)) {
is_unsafe_ = true;
......@@ -334,9 +334,9 @@ void ZipReader::ExtractCurrentEntryToFilePathAsync(
base::SequencedTaskRunnerHandle::Get()->PostTask(
FROM_HERE,
base::BindOnce(&ZipReader::ExtractChunk, weak_ptr_factory_.GetWeakPtr(),
Passed(std::move(output_file)),
std::move(success_callback), std::move(failure_callback),
progress_callback, 0 /* initial offset */));
std::move(output_file), std::move(success_callback),
std::move(failure_callback), progress_callback,
0 /* initial offset */));
}
bool ZipReader::ExtractCurrentEntryToString(uint64_t max_read_bytes,
......@@ -436,9 +436,9 @@ void ZipReader::ExtractChunk(base::File output_file,
base::SequencedTaskRunnerHandle::Get()->PostTask(
FROM_HERE,
base::BindOnce(&ZipReader::ExtractChunk, weak_ptr_factory_.GetWeakPtr(),
Passed(std::move(output_file)),
std::move(success_callback), std::move(failure_callback),
progress_callback, current_progress));
std::move(output_file), std::move(success_callback),
std::move(failure_callback), progress_callback,
current_progress));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment