Descriptionperform a null check in case WebContents doesn't have a ChromeDownloadDelegate
This could happen for Reader mode, as it generates a new webcontents.
Enabling download on Reader mode will cause other issues like
overwrite infobar.
As a result, we should disable download in reader mode.
Will work on removing the download button from media controller in
reader mode.
BUG=650738
Committed: https://crrev.com/ea10fd32a057ff0f991499641243a3781bc92d02
Cr-Commit-Position: refs/heads/master@{#422540}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|