Index: chrome/browser/dom_ui/downloads_dom_handler.cc |
diff --git a/chrome/browser/dom_ui/downloads_dom_handler.cc b/chrome/browser/dom_ui/downloads_dom_handler.cc |
index 7b7791513727ff93d3c70a753fe8af7d788746cd..67994753c71d3567eb1a0f409f31980e9c6cca45 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())); |
} |