Fix problem calling CefBrowser::SetFocus() from a non-UI thread (issue #320).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@335 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2011-10-21 20:50:04 +00:00
parent 561bb6956b
commit fb2eb5f4b5
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ void CefBrowserImpl::SetFocus(bool enable)
UIT_SetFocus(UIT_GetWebViewHost(), enable);
} else {
CefThread::PostTask(CefThread::UI, FROM_HERE, NewRunnableMethod(this,
&CefBrowserImpl::UIT_SetFocus, UIT_GetWebViewHost(), enable));
&CefBrowserImpl::SetFocus, enable));
}
}