Skip to content

Commit

Permalink
WinForms - Make ChromiumHostControlBase.FromBrowser public
Browse files Browse the repository at this point in the history
- Can be used to get the ChromiumHostControlBase instances from the IBrowser instance
  • Loading branch information
amaitland committed Feb 10, 2022
1 parent ebd298f commit 7906919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CefSharp.WinForms/Host/ChromiumHostControlBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ internal void RaiseIsBrowserInitializedChangedEvent()
/// </summary>
/// <param name="browser">browser</param>
/// <returns>returns the assocaited <see cref="ChromiumHostControl"/> or <see cref="ChromiumWebBrowser"/> or null if Disposed or no host found.</returns>
internal static T FromBrowser<T>(IBrowser browser) where T : ChromiumHostControlBase
public static T FromBrowser<T>(IBrowser browser) where T : ChromiumHostControlBase
{
if (browser.IsDisposed)
{
Expand Down

0 comments on commit 7906919

Please sign in to comment.