protected override CefBrowserProcessHandler GetBrowserProcessHandler()
 {
     if (_browserProcessHandler == null)
     {
         _browserProcessHandler = new CefWebBrowserProcessHandler(_disableSpellChecking, _spellCheckLanguage);
         _browserProcessHandler.RenderProcessInitialize += OnRenderProcessInitialize;
     }
     return(_browserProcessHandler);
 }
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (_browserProcessHandler != null)
                {
                    _browserProcessHandler.RenderProcessInitialize -= OnRenderProcessInitialize;
                }

                _browserProcessHandler = null;
            }
            base.Dispose(disposing);
        }