From 9119a8d551a28c9a725adb1dea5e466a764b3134 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 3 Aug 2023 05:36:07 +1000 Subject: [PATCH] Upgrade to 115.3.110 --- CefSharp.Wpf.HwndHost/CefSharp.Wpf.HwndHost.csproj | 6 +++--- CefSharp.Wpf.HwndHost/ChromiumWebBrowser.cs | 6 +++--- appveyor.yml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CefSharp.Wpf.HwndHost/CefSharp.Wpf.HwndHost.csproj b/CefSharp.Wpf.HwndHost/CefSharp.Wpf.HwndHost.csproj index 97c59aa..0cb7534 100644 --- a/CefSharp.Wpf.HwndHost/CefSharp.Wpf.HwndHost.csproj +++ b/CefSharp.Wpf.HwndHost/CefSharp.Wpf.HwndHost.csproj @@ -5,7 +5,7 @@ CefSharp.Wpf.HwndHost true true - 114.2.120 + 115.3.110 The CefSharp Authors The CefSharp Chromium-based browser component. The CefSharp.Wpf.HwndHost.ChromiumWebBrowser control is a drop in replacement for the CefSharp.Wpf.ChromiumWebBrowser that's rougly equivilent to hosting the WinForms version in WPF. Copyright © The CefSharp Authors @@ -23,11 +23,11 @@ - + - + diff --git a/CefSharp.Wpf.HwndHost/ChromiumWebBrowser.cs b/CefSharp.Wpf.HwndHost/ChromiumWebBrowser.cs index 0e87a6e..934bfe1 100644 --- a/CefSharp.Wpf.HwndHost/ChromiumWebBrowser.cs +++ b/CefSharp.Wpf.HwndHost/ChromiumWebBrowser.cs @@ -181,7 +181,7 @@ private void RemoveExNoActivateStyle(IntPtr hwnd) /// /// Initial browser load task complection source /// - private TaskCompletionSource initialLoadTaskCompletionSource = new TaskCompletionSource(); + private TaskCompletionSource initialLoadTaskCompletionSource = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); /// /// Initial browser load action @@ -1826,7 +1826,7 @@ private void InitialLoad(bool? isLoading, CefErrorCode? errorCode) statusCode = -1; } - initialLoadTaskCompletionSource.TrySetResultAsync(new LoadUrlAsyncResponse(CefErrorCode.None, statusCode)); + initialLoadTaskCompletionSource.TrySetResult(new LoadUrlAsyncResponse(CefErrorCode.None, statusCode)); } else if (errorCode.HasValue) { @@ -1839,7 +1839,7 @@ private void InitialLoad(bool? isLoading, CefErrorCode? errorCode) initialLoadAction = null; - initialLoadTaskCompletionSource.TrySetResultAsync(new LoadUrlAsyncResponse(errorCode.Value, -1)); + initialLoadTaskCompletionSource.TrySetResult(new LoadUrlAsyncResponse(errorCode.Value, -1)); } } diff --git a/appveyor.yml b/appveyor.yml index 29e2117..fe963fa 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,6 @@ image: Visual Studio 2019 -version: 114.2.120-CI{build} +version: 115.3.110-CI{build} clone_depth: 10