cefclient: Mac: Fix compile error (issue #1500).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@2000 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2015-01-26 22:49:36 +00:00
parent a66c401687
commit bcab7e0ebd
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ void AddMenuItem(NSMenu *menu, NSString* label, int idval) {
if (g_handler.get()) {
CefRefPtr<CefBrowser> browser = g_handler->GetBrowser();
if (browser.get()) {
if (g_handler->is_osr())) {
if (g_handler->is_osr()) {
browser->GetHost()->SendFocusEvent(true);
} else {
browser->GetHost()->SetFocus(true);