mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Windows: Fixed some build errors in the WebView2 code introduced in 48fcea0c
This commit is contained in:
parent
3baaad8b5b
commit
6cc67f5ac5
1 changed files with 3 additions and 3 deletions
|
|
@ -531,7 +531,7 @@ private:
|
|||
ComSmartPtr<ICoreWebView2WebResourceRequest> request;
|
||||
args->get_Request (request.resetAndGetPointerAddress());
|
||||
|
||||
auto uriString = getUriStringFromArgs (request.get());
|
||||
auto uriString = getUriStringFromArgs<ICoreWebView2WebResourceRequest> (request);
|
||||
|
||||
if (uriString == urlRequest.url
|
||||
|| (uriString.endsWith ("/") && uriString.upToLastOccurrenceOf ("/", false, false) == urlRequest.url))
|
||||
|
|
@ -544,7 +544,7 @@ private:
|
|||
|
||||
ComSmartPtr<IStream> content (SHCreateMemStream ((BYTE*) urlRequest.postData.getData(),
|
||||
(UINT) urlRequest.postData.getSize()));
|
||||
request->put_Content (content.get());
|
||||
request->put_Content (content);
|
||||
}
|
||||
|
||||
if (! urlRequest.headers.isEmpty())
|
||||
|
|
@ -672,7 +672,7 @@ private:
|
|||
|
||||
void closeWebView()
|
||||
{
|
||||
if (webViewController.get() != nullptr)
|
||||
if (webViewController != nullptr)
|
||||
{
|
||||
webViewController->Close();
|
||||
webViewController = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue