| Index: chrome/browser/sync/glue/theme_data_type_controller.cc
|
| diff --git a/chrome/browser/sync/glue/theme_data_type_controller.cc b/chrome/browser/sync/glue/theme_data_type_controller.cc
|
| index ead0275c14888c4363d0536b5fbbbd61b913d16c..20047eafc37851641496a3b055ae389f1538c899 100644
|
| --- a/chrome/browser/sync/glue/theme_data_type_controller.cc
|
| +++ b/chrome/browser/sync/glue/theme_data_type_controller.cc
|
| @@ -5,6 +5,8 @@
|
| #include "chrome/browser/sync/glue/theme_data_type_controller.h"
|
|
|
| #include "base/metrics/histogram.h"
|
| +#include "chrome/browser/extensions/extension_system.h"
|
| +#include "chrome/browser/extensions/extension_system_factory.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/sync/profile_sync_components_factory.h"
|
|
|
| @@ -27,7 +29,7 @@ syncable::ModelType ThemeDataTypeController::type() const {
|
| }
|
|
|
| bool ThemeDataTypeController::StartModels() {
|
| - profile_->InitExtensions(true);
|
| + ExtensionSystemFactory::GetForProfile(profile_)->Init(true);
|
| return true;
|
| }
|
|
|
|
|