Index: third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h |
diff --git a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h |
index 5c057b673b20ce29672e57dd5fbb1a7a517fa659..7aa16c268c650474eba5bfcf3ee3c9a4459d9b25 100644 |
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h |
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h |
@@ -77,7 +77,9 @@ class CORE_EXPORT SpellChecker final : public GarbageCollected<SpellChecker> { |
TypingContinuation); |
Optional<std::pair<Node*, SpellCheckMarker*>> |
GetSpellCheckMarkerUnderSelection(); |
- String SelectMisspellingAsync(String& description); |
+ // The first String returned in the pair is the selected text. |
+ // The second String is the marker's description. |
+ std::pair<String, String> SelectMisspellingAsync(); |
void ReplaceMisspelledRange(const String&); |
void RemoveSpellingMarkers(); |
void RemoveSpellingMarkersUnderWords(const Vector<String>& words); |