Index: win8/metro_driver/ime/input_source.cc |
diff --git a/win8/metro_driver/ime/input_source.cc b/win8/metro_driver/ime/input_source.cc |
index dd27380108d0622238011cbf67461a25b0de030e..9f549d77b4ca3a2023be2dab8410868b8ebb48a2 100644 |
--- a/win8/metro_driver/ime/input_source.cc |
+++ b/win8/metro_driver/ime/input_source.cc |
@@ -63,14 +63,14 @@ class ATL_NO_VTABLE InputSourceMonitor |
private: |
// ITfLanguageProfileNotifySink overrides: |
- STDMETHOD(OnLanguageChange)(LANGID langid, BOOL *accept) OVERRIDE { |
+ STDMETHOD(OnLanguageChange)(LANGID langid, BOOL *accept) override { |
if (!accept) |
return E_INVALIDARG; |
*accept = TRUE; |
return S_OK; |
} |
- STDMETHOD(OnLanguageChanged)() OVERRIDE { |
+ STDMETHOD(OnLanguageChanged)() override { |
if (!on_language_chanaged_.is_null()) |
on_language_chanaged_.Run(); |
return S_OK; |
@@ -99,7 +99,7 @@ class InputSourceImpl : public InputSource { |
private: |
// InputSource overrides. |
- virtual bool GetActiveSource(LANGID* langid, bool* is_ime) OVERRIDE { |
+ virtual bool GetActiveSource(LANGID* langid, bool* is_ime) override { |
TF_INPUTPROCESSORPROFILE profile = {}; |
HRESULT hr = profile_manager_->GetActiveProfile(GUID_TFCAT_TIP_KEYBOARD, |
&profile); |
@@ -112,10 +112,10 @@ class InputSourceImpl : public InputSource { |
*is_ime = profile.dwProfileType == TF_PROFILETYPE_INPUTPROCESSOR; |
return true; |
} |
- virtual void AddObserver(InputSourceObserver* observer) OVERRIDE { |
+ virtual void AddObserver(InputSourceObserver* observer) override { |
observer_list_.AddObserver(observer); |
} |
- virtual void RemoveObserver(InputSourceObserver* observer) OVERRIDE { |
+ virtual void RemoveObserver(InputSourceObserver* observer) override { |
observer_list_.RemoveObserver(observer); |
} |
void OnLanguageChanged() { |