mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 11:42:36 +00:00
Core - RequestContext::Create add missing UnWrap call
Unsure if this method is still used, probably isn't. Add the missing call incase it's used at some point
This commit is contained in:
@@ -118,7 +118,7 @@ namespace CefSharp
|
||||
/// <returns>Returns a new RequestContext</returns>
|
||||
static IRequestContext^ CreateContext(IRequestContext^ other, IRequestContextHandler^ requestContextHandler)
|
||||
{
|
||||
auto otherRequestContext = static_cast<RequestContext^>(other);
|
||||
auto otherRequestContext = static_cast<RequestContext^>(other->UnWrap());
|
||||
CefRefPtr<CefRequestContextHandler> handler = requestContextHandler == nullptr ? NULL : new CefRequestContextHandlerAdapter(requestContextHandler);
|
||||
|
||||
auto newContext = CefRequestContext::CreateContext(otherRequestContext, handler);
|
||||
|
||||
Reference in New Issue
Block a user