| 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 712584d1949423ab48a904df8343e5fe96ea60a4..70a01b69bdb23ea4020b8481b850d5b74b994981 100644
|
| --- a/chrome/browser/extensions/api/input_ime/input_ime_api.cc
|
| +++ b/chrome/browser/extensions/api/input_ime/input_ime_api.cc
|
| @@ -416,7 +416,9 @@ void InputImeAPI::Observe(int type,
|
| content::Source<Profile>(source).ptr());
|
| }
|
|
|
| -InputImeAPI::~InputImeAPI() {
|
| +InputImeAPI::~InputImeAPI() = default;
|
| +
|
| +void InputImeAPI::Shutdown() {
|
| EventRouter::Get(browser_context_)->UnregisterObserver(this);
|
| registrar_.RemoveAll();
|
| }
|
|
|