summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/downloads_dom_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/dom_ui/downloads_dom_handler.cc')
-rw-r--r--chrome/browser/dom_ui/downloads_dom_handler.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/dom_ui/downloads_dom_handler.cc b/chrome/browser/dom_ui/downloads_dom_handler.cc
index 7b77915..6799475 100644
--- a/chrome/browser/dom_ui/downloads_dom_handler.cc
+++ b/chrome/browser/dom_ui/downloads_dom_handler.cc
@@ -7,6 +7,7 @@
#include "app/l10n_util.h"
#include "base/basictypes.h"
#include "base/i18n/time_formatting.h"
+#include "base/singleton.h"
#include "base/string_piece.h"
#include "base/thread.h"
#include "base/values.h"
@@ -54,7 +55,7 @@ DownloadsDOMHandler::DownloadsDOMHandler(DownloadManager* dlm)
// Create our fileicon data source.
ChromeThread::PostTask(
ChromeThread::IO, FROM_HERE,
- NewRunnableMethod(&chrome_url_data_manager,
+ NewRunnableMethod(Singleton<ChromeURLDataManager>().get(),
&ChromeURLDataManager::AddDataSource,
new FileIconSource()));
}