OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
915 const EphemeralRange rangeToCheck = EphemeralRange::rangeOfContents(element)
; | 915 const EphemeralRange rangeToCheck = EphemeralRange::rangeOfContents(element)
; |
916 m_spellCheckRequester->requestCheckingFor(SpellCheckRequest::create(TextChec
kingTypeSpelling | TextCheckingTypeGrammar, TextCheckingProcessBatch, rangeToChe
ck, rangeToCheck)); | 916 m_spellCheckRequester->requestCheckingFor(SpellCheckRequest::create(TextChec
kingTypeSpelling | TextCheckingTypeGrammar, TextCheckingProcessBatch, rangeToChe
ck, rangeToCheck)); |
917 } | 917 } |
918 | 918 |
919 DEFINE_TRACE(SpellChecker) | 919 DEFINE_TRACE(SpellChecker) |
920 { | 920 { |
921 visitor->trace(m_frame); | 921 visitor->trace(m_frame); |
922 visitor->trace(m_spellCheckRequester); | 922 visitor->trace(m_spellCheckRequester); |
923 } | 923 } |
924 | 924 |
| 925 void SpellChecker::prepareForLeakDetection() |
| 926 { |
| 927 m_spellCheckRequester->prepareForLeakDetection(); |
| 928 } |
| 929 |
925 } // namespace blink | 930 } // namespace blink |
OLD | NEW |