+2006-10-31 Darin Adler <darin@apple.com>
+
+ * bridge/mac/FrameMac.mm:
+ (WebCore::FrameMac::advanceToNextMisspelling): Build fix for release Tiger builds.
+ (WebCore::FrameMac::markMisspellings): Ditto.
+
2006-10-31 John Sullivan <sullivan@apple.com>
* bridge/mac/FrameMac.mm:
NSString *chunk = [[NSString alloc] initWithCharactersNoCopy:const_cast<UChar*>(chars) length:len freeWhenDone:NO];
NSRange misspellingNSRange = [checker checkSpellingOfString:chunk startingAt:0 language:nil wrap:NO inSpellDocumentWithTag:editor()->client()->spellCheckerDocumentTag() wordCount:NULL];
+#if !defined(NDEBUG) || !defined(BUILDING_ON_TIGER)
NSDictionary *grammarDetail = nil;
+#endif
NSRange badGrammarNSRange = NSMakeRange(NSNotFound, 0);
NSRange grammarDetailNSRange = NSMakeRange(NSNotFound, 0);
#ifndef BUILDING_ON_TIGER
while (startIndex < len) {
NSRange misspellingNSRange = [checker checkSpellingOfString:chunk startingAt:startIndex language:nil wrap:NO inSpellDocumentWithTag:editor()->client()->spellCheckerDocumentTag() wordCount:NULL];
+#if !defined(NDEBUG) || !defined(BUILDING_ON_TIGER)
NSDictionary *grammarDetail = nil;
+#endif
NSRange badGrammarNSRange = NSMakeRange(NSNotFound, 0);
NSRange grammarDetailNSRange = NSMakeRange(NSNotFound, 0);
#ifndef BUILDING_ON_TIGER