Commit 66fbd46a authored by Shakti Sahu's avatar Shakti Sahu Committed by Commit Bot

Fixed a crash

This CL fixes a crash due to a boolean flip which was added
inadvertently in CL
https://chromium-review.googlesource.com/c/chromium/src/+/1919909

Bug: 1046230, 1046232
Change-Id: I413791e1fa879ab98f4ee5b890616e23026ad3c3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2024493Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
Commit-Queue: David Trainor <dtrainor@chromium.org>
Cr-Commit-Position: refs/heads/master@{#736053}
parent b630004f
......@@ -30,7 +30,7 @@ public class DownloadManagerCoordinatorFactory {
ModalDialogManager modalDialogManager) {
Profile profile = Profile.getMainProfile();
LegacyDownloadProvider legacyProvider =
config.useNewDownloadPath ? new LegacyDownloadProviderImpl() : null;
config.useNewDownloadPath ? null : new LegacyDownloadProviderImpl();
return new DownloadManagerCoordinatorImpl(activity, config, new PrefetchEnabledSupplier(),
DownloadManagerCoordinatorFactory::settingsLaunchHelper, snackbarManager,
modalDialogManager, TrackerFactory.getTrackerForProfile(profile),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment