diff --git a/CefSharp.Core/ManagedCefBrowserAdapter.h b/CefSharp.Core/ManagedCefBrowserAdapter.h index 308c8cb08..f5589ee88 100644 --- a/CefSharp.Core/ManagedCefBrowserAdapter.h +++ b/CefSharp.Core/ManagedCefBrowserAdapter.h @@ -80,20 +80,19 @@ namespace CefSharp } } - void OnInitialized() { if(_webBrowserInternal != nullptr) - { + { _webBrowserInternal->OnInitialized(); - + auto address = _address; - + if ( address != nullptr ) { LoadUrl(address); } - } + } }; void LoadHtml(String^ html, String^ url)