Fix SavePackage::GetUrlToBeSaved's call to GetVisibleEntry.
commitcc60743c0fda1b9502d56439760471d01b80a96e
authorcreis <creis@chromium.org>
Tue, 6 Jan 2015 00:59:30 +0000 (5 16:59 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 6 Jan 2015 01:00:17 +0000 (6 01:00 +0000)
treefbc18252ab4fb6dea5788013d2d4b2134436f6f8
parent63cdf1463a0f4ef30420d893741a3f5fe86f994a
Fix SavePackage::GetUrlToBeSaved's call to GetVisibleEntry.

This shouldn't matter since saving is disabled when there is no
last committed entry, but it's safer to have the null check.

BUG=445788
TEST=No behavior change.

Review URL: https://codereview.chromium.org/833163003

Cr-Commit-Position: refs/heads/master@{#310018}
content/browser/download/save_package.cc