summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extensions_ui.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-30 18:02:14 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-30 18:02:14 +0000
commit3d0baa144bed599d8a1f68afb45273de4901fde9 (patch)
treef95753e571c1563592638379783ccf4389b2b403 /chrome/browser/extensions/extensions_ui.cc
parent733d0c499d1a6c4dbc20ed1bf998337b6f1fb8b4 (diff)
downloadchromium_src-3d0baa144bed599d8a1f68afb45273de4901fde9.zip
chromium_src-3d0baa144bed599d8a1f68afb45273de4901fde9.tar.gz
chromium_src-3d0baa144bed599d8a1f68afb45273de4901fde9.tar.bz2
Convert chrome_url_data_manager (previously a global) into a
Singleton. This is just cleanup. Review URL: http://codereview.chromium.org/339078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30594 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extensions_ui.cc')
-rw-r--r--chrome/browser/extensions/extensions_ui.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extensions_ui.cc b/chrome/browser/extensions/extensions_ui.cc
index 7ca742e..06b9046 100644
--- a/chrome/browser/extensions/extensions_ui.cc
+++ b/chrome/browser/extensions/extensions_ui.cc
@@ -558,7 +558,8 @@ ExtensionsUI::ExtensionsUI(TabContents* contents) : DOMUI(contents) {
ChromeThread::PostTask(
ChromeThread::IO, FROM_HERE,
NewRunnableMethod(
- &chrome_url_data_manager, &ChromeURLDataManager::AddDataSource,
+ Singleton<ChromeURLDataManager>().get(),
+ &ChromeURLDataManager::AddDataSource,
html_source));
}