[Webkit-unassigned] [Bug 83748] [Chromium] Remove existing markers when updating markers.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 12 23:27:23 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=83748
--- Comment #10 from Ryosuke Niwa <rniwa at webkit.org> 2012-04-12 23:27:22 PST ---
(From update of attachment 137041)
View in context: https://bugs.webkit.org/attachment.cgi?id=137041&action=review
> Source/WebCore/editing/SpellChecker.cpp:188
> + if (eraseMarkers) {
> + unsigned markers = 0;
> + if (m_processingRequest->mask() & TextCheckingTypeSpelling)
> + markers |= DocumentMarker::Spelling;
> + if (m_processingRequest->mask() & TextCheckingTypeGrammar)
> + markers |= DocumentMarker::Grammar;
> + if (markers)
> + m_frame->document()->markers()->removeMarkers(m_processingRequest->checkingRange().get(), markers);
> + }
Can't we add this code in didCheckSucceeded instead?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list