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:
parent
a66c401687
commit
bcab7e0ebd
|
@ -232,7 +232,7 @@ void AddMenuItem(NSMenu *menu, NSString* label, int idval) {
|
||||||
if (g_handler.get()) {
|
if (g_handler.get()) {
|
||||||
CefRefPtr<CefBrowser> browser = g_handler->GetBrowser();
|
CefRefPtr<CefBrowser> browser = g_handler->GetBrowser();
|
||||||
if (browser.get()) {
|
if (browser.get()) {
|
||||||
if (g_handler->is_osr())) {
|
if (g_handler->is_osr()) {
|
||||||
browser->GetHost()->SendFocusEvent(true);
|
browser->GetHost()->SendFocusEvent(true);
|
||||||
} else {
|
} else {
|
||||||
browser->GetHost()->SetFocus(true);
|
browser->GetHost()->SetFocus(true);
|
||||||
|
|
Loading…
Reference in New Issue