Chromium Code Reviews| Index: Source/core/editing/TextCheckingHelper.cpp |
| diff --git a/Source/core/editing/TextCheckingHelper.cpp b/Source/core/editing/TextCheckingHelper.cpp |
| index 3362592bab1e60f86593d7b4b5a29b4835b76adc..558cedaa5d15a6b3deac47f4e17564618323ac52 100644 |
| --- a/Source/core/editing/TextCheckingHelper.cpp |
| +++ b/Source/core/editing/TextCheckingHelper.cpp |
| @@ -269,7 +269,7 @@ String TextCheckingHelper::findFirstMisspelling(int& firstMisspellingOffset, boo |
| if (!firstMisspelling) { |
| firstMisspellingOffset = currentChunkOffset + misspellingLocation; |
| firstMisspelling = it.substring(misspellingLocation, misspellingLength); |
| - firstMisspellingRange = Range::create(misspellingStart.containerNode()->document(), m_start, m_end); |
| + firstMisspellingRange = Range::create(misspellingStart.containerNode()->document(), misspellingStart, misspellingEnd); |
|
yosin_UTC9
2015/05/21 02:28:49
It seems current code is correct, since |misspelli
|
| } |
| // Store marker for misspelled word. |