diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-18 17:11:36 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-18 17:11:36 +0000 |
commit | 6d60e9b60fd6f35aeae795baa197895227dff072 (patch) | |
tree | ffcbb4f41b83a797e2d0cb8ee0c619a38767328c /chrome/browser/gtk | |
parent | bfb7ac7597ba2ff63a72a78f38f0ee7af2df8330 (diff) | |
download | chromium_src-6d60e9b60fd6f35aeae795baa197895227dff072.zip chromium_src-6d60e9b60fd6f35aeae795baa197895227dff072.tar.gz chromium_src-6d60e9b60fd6f35aeae795baa197895227dff072.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/gtk')
-rw-r--r-- | chrome/browser/gtk/options/options_window_gtk.cc | 3 |
1 files changed, 0 insertions, 3 deletions
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); |