Index: chrome/browser/ui/webui/options2/browser_options_handler2.cc |
diff --git a/chrome/browser/ui/webui/options2/browser_options_handler2.cc b/chrome/browser/ui/webui/options2/browser_options_handler2.cc |
index 2be94c464edd0f33e863e360238c69714d57327d..c287ebfbcf7383f471b2c2d02c056d5272b26eca 100644 |
--- a/chrome/browser/ui/webui/options2/browser_options_handler2.cc |
+++ b/chrome/browser/ui/webui/options2/browser_options_handler2.cc |
@@ -48,6 +48,7 @@ |
#include "chrome/browser/themes/theme_service.h" |
#include "chrome/browser/themes/theme_service_factory.h" |
#include "chrome/browser/ui/options/options_util.h" |
+#include "chrome/browser/ui/webui/chrome_url_data_manager.h" |
#include "chrome/browser/ui/webui/favicon_source.h" |
#include "chrome/browser/ui/webui/web_ui_util.h" |
#include "chrome/common/chrome_constants.h" |
@@ -550,7 +551,7 @@ void BrowserOptionsHandler::InitializeHandler() { |
OnStateChanged(); |
// Create our favicon data source. |
- profile->GetChromeURLDataManager()->AddDataSource( |
+ ChromeURLDataManager::AddDataSource(profile, |
new FaviconSource(profile, FaviconSource::FAVICON)); |
default_browser_policy_.Init(prefs::kDefaultBrowserSettingEnabled, |