diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-30 18:02:14 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-30 18:02:14 +0000 |
commit | 3d0baa144bed599d8a1f68afb45273de4901fde9 (patch) | |
tree | f95753e571c1563592638379783ccf4389b2b403 /chrome/browser/browser_about_handler.cc | |
parent | 733d0c499d1a6c4dbc20ed1bf998337b6f1fb8b4 (diff) | |
download | chromium_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/browser_about_handler.cc')
-rw-r--r-- | chrome/browser/browser_about_handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc index 428a9d2..370cfa0 100644 --- a/chrome/browser/browser_about_handler.cc +++ b/chrome/browser/browser_about_handler.cc @@ -568,7 +568,7 @@ AboutSource::AboutSource() // Add us to the global URL handler on the IO thread. g_browser_process->io_thread()->message_loop()->PostTask(FROM_HERE, - NewRunnableMethod(&chrome_url_data_manager, + NewRunnableMethod(Singleton<ChromeURLDataManager>().get(), &ChromeURLDataManager::AddDataSource, this)); } |