Android build for ungoogled-chromium.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.3 KiB

From: Xing Liu <[email protected]>
Date: Tue, 18 Feb 2020 21:10:54 +0000
Subject: Download on Android Q: Remove a DCHECK in CreateReservation.
When resuming a download, the suggested path can be content URI. This
will hit a DCHECK in CreateReservation.
Bug: 1045642
Change-Id: I61c452afafbbc9606f747c84ff18e6b9dc9a0fb6
Reviewed-by: Min Qin <[email protected]>
Commit-Queue: Xing Liu <[email protected]>
Cr-Commit-Position: refs/heads/[email protected]{#742270}
components/download/internal/common/ | 2 --
1 file changed, 2 deletions(-)
--- a/components/download/internal/common/
+++ b/components/download/internal/common/
@@ -325,8 +325,6 @@ PathValidationResult ValidatePathAndReso
// - Returns the result of creating the path reservation.
PathValidationResult CreateReservation(const CreateReservationInfo& info,
base::FilePath* reserved_path) {
- DCHECK(info.suggested_path.IsAbsolute());
// Create a reservation map if one doesn't exist. It will be automatically
// deleted when all the reservations are revoked.
if (g_reservation_map == NULL)