| Index: chrome/browser/dom_ui/plugins_ui.cc
|
| ===================================================================
|
| --- chrome/browser/dom_ui/plugins_ui.cc (revision 74394)
|
| +++ chrome/browser/dom_ui/plugins_ui.cc (working copy)
|
| @@ -349,11 +349,7 @@
|
| PluginsUIHTMLSource* html_source = new PluginsUIHTMLSource();
|
|
|
| // Set up the chrome://plugins/ source.
|
| - BrowserThread::PostTask(
|
| - BrowserThread::IO, FROM_HERE,
|
| - NewRunnableMethod(ChromeURLDataManager::GetInstance(),
|
| - &ChromeURLDataManager::AddDataSource,
|
| - make_scoped_refptr(html_source)));
|
| + contents->profile()->GetChromeURLDataManager()->AddDataSource(html_source);
|
| }
|
|
|
|
|
|
|