diff --git a/CefSharp/Internals/ClientAdapter.cpp b/CefSharp/Internals/ClientAdapter.cpp index 610a9cedb..dc535e4bb 100644 --- a/CefSharp/Internals/ClientAdapter.cpp +++ b/CefSharp/Internals/ClientAdapter.cpp @@ -76,7 +76,7 @@ namespace CefSharp void ClientAdapter::OnTitleChange(CefRefPtr browser, const CefString& title) { - _browserControl->Title = StringUtils::ToClr(title); + _browserControl->SetTitle(StringUtils::ToClr(title)); } bool ClientAdapter::OnTooltip(CefRefPtr browser, CefString& text) diff --git a/CefSharp/Internals/IWebBrowserInternal.h b/CefSharp/Internals/IWebBrowserInternal.h index ebfa84193..62b9b8b3d 100644 --- a/CefSharp/Internals/IWebBrowserInternal.h +++ b/CefSharp/Internals/IWebBrowserInternal.h @@ -23,8 +23,6 @@ namespace CefSharp property bool IsBrowserInitialized { bool get(); } property bool IsLoading { bool get(); } - property String^ Address; - property String^ Title; property String^ TooltipText; property ILifeSpanHandler^ LifeSpanHandler; @@ -37,6 +35,7 @@ namespace CefSharp void OnInitialized(); void SetAddress(String^ address); + void SetTitle(String^ title); void LoadHtml(String^ html); void Stop(); void Reload();