From 6d60e9b60fd6f35aeae795baa197895227dff072 Mon Sep 17 00:00:00 2001 From: "tony@chromium.org" Date: Fri, 18 Sep 2009 17:11:36 +0000 Subject: Remove the intializaton of the Download Manager when bringing up the options dialog. This was done a long long time ago because we used to register the download dir pref in the Download Manager constructor. Since that's no longer the case, we don't need to intialize the Download Manager. Review URL: http://codereview.chromium.org/208021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26583 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/gtk/options/options_window_gtk.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'chrome/browser/gtk') diff --git a/chrome/browser/gtk/options/options_window_gtk.cc b/chrome/browser/gtk/options/options_window_gtk.cc index 6324641..f55b82f 100644 --- a/chrome/browser/gtk/options/options_window_gtk.cc +++ b/chrome/browser/gtk/options/options_window_gtk.cc @@ -81,9 +81,6 @@ OptionsWindowGtk::OptionsWindowGtk(Profile* profile) general_page_(profile_), content_page_(profile_), advanced_page_(profile_) { - // The download manager needs to be initialized before the contents of the - // Options Window are created. - profile_->GetDownloadManager(); // We don't need to observe changes in this value. last_selected_page_.Init(prefs::kOptionsWindowLastTabIndex, g_browser_process->local_state(), NULL); -- cgit v1.1