diff --git a/CefSharp/SchemeHandlerWrapper.cpp b/CefSharp/SchemeHandlerWrapper.cpp index 57b8ce6a0..b020d4f19 100644 --- a/CefSharp/SchemeHandlerWrapper.cpp +++ b/CefSharp/SchemeHandlerWrapper.cpp @@ -59,7 +59,7 @@ namespace CefSharp _mime_type = StringUtils::ToNative(response->MimeType); _stream = response->ResponseStream; _statusCode = response->StatusCode; - _redirectUrl = toNative(response->RedirectUrl); + _redirectUrl = StringUtils::ToNative(response->RedirectUrl); _contentLength = response->ContentLength; _closeStream = response->CloseStream;