summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-30 23:07:55 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-30 23:07:55 +0000
commit63a0f635597c7442c83777073a45c7944467e7fd (patch)
tree43926083ae7afe29d03d34df259b783f58db5be0 /chrome/browser/dom_ui
parentf9c66023cee9b5ff80b2b3a277ea99f20c4e9d24 (diff)
downloadchromium_src-63a0f635597c7442c83777073a45c7944467e7fd.zip
chromium_src-63a0f635597c7442c83777073a45c7944467e7fd.tar.gz
chromium_src-63a0f635597c7442c83777073a45c7944467e7fd.tar.bz2
A recent refactoring of the DOM UI had caused the download page to be blank.
A call to Init had been removed. BUG=http://crbug.com/15680 TEST=Download a file. Open the download page (CTRL-J) it should show the download. Review URL: http://codereview.chromium.org/151110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19681 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui')
-rw-r--r--chrome/browser/dom_ui/downloads_ui.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/dom_ui/downloads_ui.cc b/chrome/browser/dom_ui/downloads_ui.cc
index df1c21c..60b5a369 100644
--- a/chrome/browser/dom_ui/downloads_ui.cc
+++ b/chrome/browser/dom_ui/downloads_ui.cc
@@ -124,6 +124,7 @@ DownloadsUI::DownloadsUI(TabContents* contents) : DOMUI(contents) {
DownloadsDOMHandler* handler = new DownloadsDOMHandler(dlm);
AddMessageHandler(handler);
handler->Attach(this);
+ handler->Init();
DownloadsUIHTMLSource* html_source = new DownloadsUIHTMLSource();