From 7906919fec0a0741b3172dd24dfed4e397a1559e Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Mon, 31 Jan 2022 11:35:46 +1000 Subject: [PATCH] WinForms - Make ChromiumHostControlBase.FromBrowser public - Can be used to get the ChromiumHostControlBase instances from the IBrowser instance --- CefSharp.WinForms/Host/ChromiumHostControlBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CefSharp.WinForms/Host/ChromiumHostControlBase.cs b/CefSharp.WinForms/Host/ChromiumHostControlBase.cs index 35152f8a85..7135f6b9e2 100644 --- a/CefSharp.WinForms/Host/ChromiumHostControlBase.cs +++ b/CefSharp.WinForms/Host/ChromiumHostControlBase.cs @@ -188,7 +188,7 @@ internal void RaiseIsBrowserInitializedChangedEvent() /// /// browser /// returns the assocaited or or null if Disposed or no host found. - internal static T FromBrowser(IBrowser browser) where T : ChromiumHostControlBase + public static T FromBrowser(IBrowser browser) where T : ChromiumHostControlBase { if (browser.IsDisposed) {