From f41301e22f97b5117f8b6ada563d7916b01fe56c Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Mon, 16 Nov 2009 21:30:07 +0000 Subject: Spellchecker: call init *after* constructor. This fixes the error where PostTask would post the task to the file thread and release its reference before the constructor returned. credit for fix goes to jam@ and thestig@ Review URL: http://codereview.chromium.org/399011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32089 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/spellcheck_host.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chrome/browser/spellcheck_host.h') diff --git a/chrome/browser/spellcheck_host.h b/chrome/browser/spellcheck_host.h index 8c2ef55..ac540f1 100644 --- a/chrome/browser/spellcheck_host.h +++ b/chrome/browser/spellcheck_host.h @@ -28,6 +28,8 @@ class SpellCheckHost : public base::RefCountedThreadSafe