diff --git a/cef3/libcef/browser/browser_context.cc b/cef3/libcef/browser/browser_context.cc index b914c04b1..3dbc0e7a3 100644 --- a/cef3/libcef/browser/browser_context.cc +++ b/cef3/libcef/browser/browser_context.cc @@ -109,7 +109,7 @@ class CefGeolocationPermissionContext } // Disallow geolocation access by default. - callback.Run(false); + CEF_POST_TASK(CEF_UIT, base::Bind(callback, false)); } virtual void CancelGeolocationPermissionRequest(