Bug 1204519 part.2 Remove TSFStaticSink::IsGoogleJapaneseInputActive() r=emk
authorMasayuki Nakano <masayuki@d-toybox.com>
Fri, 18 Sep 2015 09:58:17 +0900
changeset 295780 f5311a0eda9b8b68daec3253aa7b5122723d128e
parent 295779 999f7f57a5411e83424e280f4879f09bb4922ff6
child 295781 11a3cb42f7293def7ccc1679ff1e1a0c36a5f068
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersemk
bugs1204519
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1204519 part.2 Remove TSFStaticSink::IsGoogleJapaneseInputActive() r=emk
widget/windows/TSFTextStore.cpp
--- a/widget/windows/TSFTextStore.cpp
+++ b/widget/windows/TSFTextStore.cpp
@@ -811,23 +811,16 @@ public:
        mActiveTIPKeyboardDescription.Equals(
          NS_LITERAL_STRING("Microsoft \xC785\xB825\xAE30")) ||
        mActiveTIPKeyboardDescription.Equals(
          NS_LITERAL_STRING("\x5FAE\x8F6F\x8F93\x5165\x6CD5")) ||
        mActiveTIPKeyboardDescription.Equals(
          NS_LITERAL_STRING("\x5FAE\x8EDF\x8F38\x5165\x6CD5")));
   }
 
-  bool IsGoogleJapaneseInputActive() const
-  {
-    return mActiveTIPKeyboardDescription.Equals(
-             NS_LITERAL_STRING("Google \x65E5\x672C\x8A9E\x5165\x529B")) ||
-           mActiveTIPKeyboardDescription.EqualsLiteral("Google Japanese Input");
-  }
-
   bool IsATOKActive() const
   {
     // FYI: Name of ATOK includes the release year like "ATOK 2015".
     return StringBeginsWith(mActiveTIPKeyboardDescription,
                             NS_LITERAL_STRING("ATOK "));
   }
 
   /****************************************************************************