| Index: chrome/browser/extensions/api/input_ime/input_ime_api.cc
|
| diff --git a/chrome/browser/extensions/api/input_ime/input_ime_api.cc b/chrome/browser/extensions/api/input_ime/input_ime_api.cc
|
| index 207b120dcf1664d3bc49ac162dad9a766726e1f5..a9e49e606594118a03f8fc9989346dcf916a7808 100644
|
| --- a/chrome/browser/extensions/api/input_ime/input_ime_api.cc
|
| +++ b/chrome/browser/extensions/api/input_ime/input_ime_api.cc
|
| @@ -864,6 +864,14 @@ InputImeAPI::InputImeAPI(Profile* profile)
|
| InputImeAPI::~InputImeAPI() {
|
| }
|
|
|
| +static base::LazyInstance<ProfileKeyedAPIFactory<InputImeAPI> >
|
| +g_factory = LAZY_INSTANCE_INITIALIZER;
|
| +
|
| +// static
|
| +ProfileKeyedAPIFactory<InputImeAPI>* InputImeAPI::GetFactoryInstance() {
|
| + return &g_factory.Get();
|
| +}
|
| +
|
| void InputImeAPI::Observe(int type,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) {
|
| @@ -899,13 +907,4 @@ InputImeEventRouter* InputImeAPI::input_ime_event_router() {
|
| return InputImeEventRouter::GetInstance();
|
| }
|
|
|
| -static base::LazyInstance<ProfileKeyedAPIFactory<InputImeAPI> >
|
| -g_factory = LAZY_INSTANCE_INITIALIZER;
|
| -
|
| -template <>
|
| -ProfileKeyedAPIFactory<InputImeAPI>*
|
| -ProfileKeyedAPIFactory<InputImeAPI>::GetInstance() {
|
| - return &g_factory.Get();
|
| -}
|
| -
|
| } // namespace extensions
|
|
|