| Index: chrome/browser/extensions/api/i18n/i18n_api.cc
|
| diff --git a/chrome/browser/extensions/api/i18n/i18n_api.cc b/chrome/browser/extensions/api/i18n/i18n_api.cc
|
| index af337226a4e3e6f42b0897822059f4102b8f765b..828f20142fcc218c77070f9b11a0beac8fe7ef1a 100644
|
| --- a/chrome/browser/extensions/api/i18n/i18n_api.cc
|
| +++ b/chrome/browser/extensions/api/i18n/i18n_api.cc
|
| @@ -15,8 +15,6 @@
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/common/extensions/api/i18n.h"
|
| #include "chrome/common/extensions/api/i18n/default_locale_handler.h"
|
| -#include "chrome/common/extensions/extension_manifest_constants.h"
|
| -#include "chrome/common/extensions/manifest_handler.h"
|
| #include "chrome/common/pref_names.h"
|
|
|
| namespace GetAcceptLanguages = extensions::api::i18n::GetAcceptLanguages;
|
| @@ -63,8 +61,7 @@ bool I18nGetAcceptLanguagesFunction::RunImpl() {
|
| }
|
|
|
| I18nAPI::I18nAPI(Profile* profile) {
|
| - ManifestHandler::Register(extension_manifest_keys::kDefaultLocale,
|
| - make_linked_ptr(new DefaultLocaleHandler));
|
| + (new DefaultLocaleHandler)->Register();
|
| }
|
|
|
| I18nAPI::~I18nAPI() {
|
|
|