| Index: chrome/browser/ui/webui/plugins_ui.cc
|
| diff --git a/chrome/browser/ui/webui/plugins_ui.cc b/chrome/browser/ui/webui/plugins_ui.cc
|
| index 518c180f03aca7565f56e6bc20f58dd5d81e5508..47ee017ee0ac771aa54719334ea76c60e3d4a79a 100644
|
| --- a/chrome/browser/ui/webui/plugins_ui.cc
|
| +++ b/chrome/browser/ui/webui/plugins_ui.cc
|
| @@ -476,8 +476,7 @@ PluginsUI::PluginsUI(content::WebUI* web_ui) : WebUIController(web_ui) {
|
|
|
| // Set up the chrome://plugins/ source.
|
| Profile* profile = Profile::FromWebUI(web_ui);
|
| - profile->GetChromeURLDataManager()->AddDataSource(
|
| - CreatePluginsUIHTMLSource());
|
| + ChromeURLDataManager::AddDataSource(profile, CreatePluginsUIHTMLSource());
|
| }
|
|
|
| // static
|
|
|