diff options
Diffstat (limited to 'chrome/browser/views/download_shelf_view.cc')
-rw-r--r-- | chrome/browser/views/download_shelf_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/download_shelf_view.cc b/chrome/browser/views/download_shelf_view.cc index 723f60c..dcd7c01 100644 --- a/chrome/browser/views/download_shelf_view.cc +++ b/chrome/browser/views/download_shelf_view.cc @@ -72,7 +72,7 @@ int CenterPosition(int size, int target_size) { } // namespace DownloadShelfView::DownloadShelfView(Browser* browser, BrowserView* parent) - : DownloadShelf(browser), parent_(parent) { + : browser_(browser), parent_(parent) { parent->AddChildView(this); Init(); } @@ -285,7 +285,7 @@ bool DownloadShelfView::CanFitFirstDownloadItem() { } void DownloadShelfView::LinkActivated(views::Link* source, int event_flags) { - ShowAllDownloads(); + browser_->ShowDownloadsTab(); } void DownloadShelfView::ButtonPressed(views::Button* button) { |