From d757adb0209c4623a453348e6c744c5d58938a52 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Tue, 7 Jun 2011 13:33:03 +0000 Subject: [PATCH] Don't call SetFocus(NULL) from WM_KILLFOCUS in CefBrowserImpl (issue #256). git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@254 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- libcef/browser_impl_win.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libcef/browser_impl_win.cc b/libcef/browser_impl_win.cc index dd58615ec..b0ba4dae7 100644 --- a/libcef/browser_impl_win.cc +++ b/libcef/browser_impl_win.cc @@ -63,11 +63,6 @@ LRESULT CALLBACK CefBrowserImpl::WndProc(HWND hwnd, UINT message, browser->UIT_SetFocus(browser->UIT_GetWebViewHost(), true); return 0; - case WM_KILLFOCUS: - if (browser) - browser->UIT_SetFocus(browser->UIT_GetWebViewHost(), false); - return 0; - case WM_ERASEBKGND: return 0; }