Skip to content

Commit

Permalink
Merge pull request #759 from numbersint/fixes/offscreen-address-initi…
Browse files Browse the repository at this point in the history
…alization

Fix OffScreen's Address field
  • Loading branch information
amaitland committed Jan 22, 2015
2 parents 953d917 + 9d2d8f7 commit 0218eaf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CefSharp.OffScreen/ChromiumWebBrowser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public ChromiumWebBrowser(string address, BrowserSettings browserSettings = null
ResourceHandler = new DefaultResourceHandler();

Cef.AddDisposable(this);
Address = address;

managedCefBrowserAdapter = new ManagedCefBrowserAdapter(this, true);
managedCefBrowserAdapter.CreateOffscreenBrowser(IntPtr.Zero, browserSettings ?? new BrowserSettings(), address);
Expand Down Expand Up @@ -197,7 +198,7 @@ public void AddWordToDictionary(string word)
managedCefBrowserAdapter.AddWordToDictionary(word);
}

public string Address { get; set; }
public string Address { get; private set; }

public bool CanGoBack { get; private set; }

Expand Down

0 comments on commit 0218eaf

Please sign in to comment.