Commit 53513eb6 authored by benwells's avatar benwells Committed by Commit bot

Fix download shelf visibility bug introduced by nullptr change.

The bug caused the download shelf visibility to not be updated
correctly.

BUG=434594

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

Cr-Commit-Position: refs/heads/master@{#305118}
parent 0910435e
......@@ -1219,7 +1219,6 @@ void BrowserView::SetDownloadShelfVisible(bool visible) {
GetDownloadShelf();
}
if (!browser_)
browser_->UpdateDownloadShelfVisibility(visible);
// SetDownloadShelfVisible can force-close the shelf, so make sure we lay out
......
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