| Index: chrome/renderer/spellchecker/spellcheck.cc
|
| diff --git a/chrome/renderer/spellchecker/spellcheck.cc b/chrome/renderer/spellchecker/spellcheck.cc
|
| index 4220f4a5ebd011f41b8c7c0a9c40ed485fdcb9c9..eed27c379c58d4e43a8dd21f905dd82bcd126baf 100644
|
| --- a/chrome/renderer/spellchecker/spellcheck.cc
|
| +++ b/chrome/renderer/spellchecker/spellcheck.cc
|
| @@ -286,3 +286,14 @@ bool SpellCheck::IsValidContraction(const string16& contraction, int tag) {
|
| }
|
| return true;
|
| }
|
| +
|
| +bool SpellCheck::RequestCheckingOfText(
|
| + int32 routing_id, const string16& text, int tag, int request_id) {
|
| + if (!is_using_platform_spelling_engine_)
|
| + return false;
|
| +
|
| + RenderThread::current()->Send(
|
| + new ViewHostMsg_SpellChecker_PlatformRequestTextCheck(
|
| + routing_id, request_id, tag, text));
|
| + return true;
|
| +}
|
|
|