summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webview_delegate.h
diff options
context:
space:
mode:
authorsidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-10 22:32:21 +0000
committersidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-10 22:32:21 +0000
commit26ea6c409fedeabdabb53f41fcc80b79d2575cf9 (patch)
tree462cc525d12f6cebe47b60094aa5a346e46a92fd /webkit/glue/webview_delegate.h
parentfda8974e0a1daa704be0dc33fe04ae4564310c12 (diff)
downloadchromium_src-26ea6c409fedeabdabb53f41fcc80b79d2575cf9.zip
chromium_src-26ea6c409fedeabdabb53f41fcc80b79d2575cf9.tar.gz
chromium_src-26ea6c409fedeabdabb53f41fcc80b79d2575cf9.tar.bz2
Stop auto-correcting abbreviations.BUG= www.crbug.com/12921TEST= For command line --auto-spell-correct, "IMB" should not change to "IBM"
Review URL: http://codereview.chromium.org/119210 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18099 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webview_delegate.h')
-rw-r--r--webkit/glue/webview_delegate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/webview_delegate.h b/webkit/glue/webview_delegate.h
index e6e0891..a4b5061 100644
--- a/webkit/glue/webview_delegate.h
+++ b/webkit/glue/webview_delegate.h
@@ -780,8 +780,8 @@ class WebViewDelegate : virtual public WebWidgetDelegate {
// Computes an auto correct word for a misspelled word. If no word is found,
// empty string is computed.
- virtual void GetAutoCorrectWord(const std::wstring& misspelled_word,
- std::wstring& autocorrect_word) {
+ virtual std::wstring GetAutoCorrectWord(const std::wstring& misspelled_word) {
+ return std::wstring();
}
// Changes the state of the input method editor.