| Index: chrome/browser/ui/webui/flash_ui.cc
|
| diff --git a/chrome/browser/ui/webui/flash_ui.cc b/chrome/browser/ui/webui/flash_ui.cc
|
| index 888cb758e3517bd2fb42b2d1ddcefa734cb2fb56..e6e5607027e81d2f7b73bf3737cebdf1ba033f8e 100644
|
| --- a/chrome/browser/ui/webui/flash_ui.cc
|
| +++ b/chrome/browser/ui/webui/flash_ui.cc
|
| @@ -22,6 +22,7 @@
|
| #include "chrome/browser/crash_upload_list.h"
|
| #include "chrome/browser/plugin_prefs.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| +#include "chrome/browser/ui/webui/chrome_url_data_manager_factory.h"
|
| #include "chrome/browser/ui/webui/chrome_web_ui_data_source.h"
|
| #include "chrome/browser/ui/webui/crashes_ui.h"
|
| #include "chrome/common/chrome_version_info.h"
|
| @@ -375,7 +376,8 @@ FlashUI::FlashUI(content::WebUI* web_ui) : WebUIController(web_ui) {
|
|
|
| // Set up the about:flash source.
|
| Profile* profile = Profile::FromWebUI(web_ui);
|
| - profile->GetChromeURLDataManager()->AddDataSource(CreateFlashUIHTMLSource());
|
| + ChromeURLDataManagerFactory::GetForProfile(profile)->
|
| + AddDataSource(CreateFlashUIHTMLSource());
|
| }
|
|
|
| // static
|
|
|