* bridge/mac/FrameMac.mm:
authorsullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Nov 2006 02:59:56 +0000 (02:59 +0000)
committersullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Nov 2006 02:59:56 +0000 (02:59 +0000)
        (WebCore::FrameMac::markMisspellings):
        Tiger build fix: added an #ifndef BUILDING_ON_TIGER where one was needed.

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

WebCore/ChangeLog
WebCore/bridge/mac/FrameMac.mm

index 570dfc1b8dbaac52037a6efe9704adc1be33be01..204d299bf56f9d80c0d89feca957f44affa51586 100644 (file)
@@ -1,3 +1,9 @@
+2006-10-31  John Sullivan  <sullivan@apple.com>
+
+        * bridge/mac/FrameMac.mm:
+        (WebCore::FrameMac::markMisspellings):
+        Tiger build fix: added an #ifndef BUILDING_ON_TIGER where one was needed.
+
 2006-10-31  John Sullivan  <sullivan@apple.com>
 
         Reviewed by Maciej
 2006-10-31  John Sullivan  <sullivan@apple.com>
 
         Reviewed by Maciej
index 21128289ddbf027dbc660dc93b73bc85701535b3..23380b999d5ae9be75816ee78fcab2efa646ee8a 100644 (file)
@@ -2613,8 +2613,10 @@ void FrameMac::markMisspellings(const Selection& selection)
                 badRangeToMark->setEnd(chars.range()->startContainer(exception), chars.range()->startOffset(exception), exception);
                 if (markMisspelling)
                     document()->addMarker(badRangeToMark.get(), DocumentMarker::Spelling);
                 badRangeToMark->setEnd(chars.range()->startContainer(exception), chars.range()->startOffset(exception), exception);
                 if (markMisspelling)
                     document()->addMarker(badRangeToMark.get(), DocumentMarker::Spelling);
+#ifndef BUILDING_ON_TIGER
                 else
                     document()->addMarker(badRangeToMark.get(), DocumentMarker::Grammar, [grammarDetail objectForKey:NSGrammarUserDescription]);
                 else
                     document()->addMarker(badRangeToMark.get(), DocumentMarker::Grammar, [grammarDetail objectForKey:NSGrammarUserDescription]);
+#endif
 
                 startIndex = badNSRangeToMark.location + badNSRangeToMark.length;
             }
 
                 startIndex = badNSRangeToMark.location + badNSRangeToMark.length;
             }