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

Unified Diff: ui/file_manager/zip_archiver/cpp/volume_archive_libarchive.cc

Issue 2815083003: Remove a line that is related to libarchive. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/zip_archiver/cpp/volume_archive_libarchive.cc
diff --git a/ui/file_manager/zip_archiver/cpp/volume_archive_libarchive.cc b/ui/file_manager/zip_archiver/cpp/volume_archive_libarchive.cc
index 54e857e7b978465527dc4baace9c45328d6da52d..4ff6e34bd92d9d0998e4d3faace56654ba6efd45 100644
--- a/ui/file_manager/zip_archiver/cpp/volume_archive_libarchive.cc
+++ b/ui/file_manager/zip_archiver/cpp/volume_archive_libarchive.cc
@@ -459,9 +459,6 @@ int64_t VolumeArchiveMinizip::ReadData(int64_t offset,
int64_t length,
const char** buffer) {
PP_DCHECK(length > 0); // Length must be at least 1.
- PP_DCHECK(current_archive_entry_); // Check that GetNextHeader was called at
- // least once. In case it wasn't, this is
- // a programmer error.
// In case of first read or no more available data in the internal buffer or
// offset is different from the last_read_data_offset_, then force
// VolumeArchiveMinizip::DecompressData as the decompressed data is
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698