Use BUILDING_ON_TIGER.
authoradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 May 2007 21:37:16 +0000 (21:37 +0000)
committeradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 May 2007 21:37:16 +0000 (21:37 +0000)
        * page/mac/FrameMac.mm: (WebCore::Frame::setUseSecureKeyboardEntry):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@21233 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/page/mac/FrameMac.mm

index 2944e74e780d9da14e6159235face283dc10ec50..090ecbafb0a0b5cc143d441f4cee86164bd9520a 100644 (file)
@@ -1,3 +1,9 @@
+2007-05-03  Adele Peterson  <adele@apple.com>
+
+        Use BUILDING_ON_TIGER.
+
+        * page/mac/FrameMac.mm: (WebCore::Frame::setUseSecureKeyboardEntry):
+
 2007-05-03  Brady Eidson  <beidson@apple.com>
 
         Reviewed by Darin
index db60f32ecf70bc8ca3946f9fb3387d027cfef315..34bc50c5b435e36753f7bd09d1daa1e2711d3cb0 100644 (file)
@@ -512,7 +512,7 @@ void Frame::setUseSecureKeyboardEntry(bool enable)
         return;
     if (enable) {
         EnableSecureEventInput();
-#if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4
+#ifdef BUILDING_ON_TIGER
         KeyScript(enableRomanKeyboardsOnly);
 #else
         CFArrayRef inputSources = TISCreateASCIICapableInputSourceList();
@@ -521,7 +521,7 @@ void Frame::setUseSecureKeyboardEntry(bool enable)
 #endif
     } else {
         DisableSecureEventInput();
-#if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4
+#ifdef BUILDING_ON_TIGER
         KeyScript(smKeyEnableKybds);
 #else
         TSMRemoveDocumentProperty(TSMGetActiveDocument(), kTSMDocumentEnabledInputSourcesPropertyTag);