changeset 2102:9a5dbda8f2ab

Win: Fix building with WebView2 SDK 0.9.538. More breaking changes Microsoft?
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 13 Jun 2020 18:23:04 +0000
parents 07666f97412f
children 2417bc294e30
files win/edge.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/win/edge.cpp	Fri Jun 12 21:02:20 2020 +0000
+++ b/win/edge.cpp	Sat Jun 13 18:23:04 2020 +0000
@@ -226,7 +226,7 @@
 
 BOOL EdgeBrowser::Detect(VOID)
 {
-	CreateCoreWebView2EnvironmentWithDetails(nullptr, nullptr, nullptr,
+	CreateCoreWebView2EnvironmentWithOptions(nullptr, nullptr, nullptr,
 		Callback<ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler>(
 			[this](HRESULT result, ICoreWebView2Environment* env) -> HRESULT {
 				// Successfully created Edge environment, return TRUE