diff options
Diffstat (limited to 'Source/WebKit/chromium/src/WebTextCheckingResult.cpp')
-rw-r--r-- | Source/WebKit/chromium/src/WebTextCheckingResult.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/WebKit/chromium/src/WebTextCheckingResult.cpp b/Source/WebKit/chromium/src/WebTextCheckingResult.cpp index cfd4fa72a..7c5bfbc3e 100644 --- a/Source/WebKit/chromium/src/WebTextCheckingResult.cpp +++ b/Source/WebKit/chromium/src/WebTextCheckingResult.cpp @@ -44,6 +44,13 @@ WebTextCheckingResult::operator TextCheckingResult() const result.location = location; result.length = length; result.replacement = replacement; + if (result.type == TextCheckingTypeGrammar) { + GrammarDetail detail; + detail.location = 0; + detail.length = length; + detail.userDescription = replacement; + result.details.append(detail); + } return result; } |