Upgrade to 112.2.70

This commit is contained in:
Alex Maitland
2023-04-10 16:58:48 +10:00
parent 6ea2261ef7
commit 6a3c8d7ea0
3 changed files with 9 additions and 6 deletions
@@ -5,7 +5,7 @@
<RootNamespace>CefSharp.Wpf.HwndHost</RootNamespace>
<CefSharpAnyCpuSupport>true</CefSharpAnyCpuSupport>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>111.2.70</Version>
<Version>112.2.70</Version>
<Authors>The CefSharp Authors</Authors>
<Description>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.</Description>
<Copyright>Copyright © The CefSharp Authors</Copyright>
@@ -23,11 +23,11 @@
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
<PackageReference Include="CefSharp.Common" Version="111.2.70" />
<PackageReference Include="CefSharp.Common" Version="112.2.70" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' != 'net462'">
<PackageReference Include="CefSharp.Common.NETCore" Version="111.2.70" />
<PackageReference Include="CefSharp.Common.NETCore" Version="112.2.70" />
</ItemGroup>
<ItemGroup>
+5 -2
View File
@@ -13,6 +13,7 @@ using System.Windows.Interop;
using System.Windows.Threading;
using CefSharp.DevTools.Page;
using CefSharp.Internals;
using CefSharp.Structs;
using CefSharp.Wpf.HwndHost.Internals;
namespace CefSharp.Wpf.HwndHost
@@ -1860,7 +1861,7 @@ namespace CefSharp.Wpf.HwndHost
}
/// <inheritdoc/>
public async Task<DevTools.DOM.Rect> GetContentSizeAsync()
public async Task<DomRect> GetContentSizeAsync()
{
ThrowExceptionIfDisposed();
ThrowExceptionIfBrowserNotInitialized();
@@ -1870,7 +1871,9 @@ namespace CefSharp.Wpf.HwndHost
//Get the content size
var layoutMetricsResponse = await devToolsClient.Page.GetLayoutMetricsAsync().ConfigureAwait(continueOnCapturedContext: false);
return layoutMetricsResponse.CssContentSize;
var rect = layoutMetricsResponse.CssContentSize;
return new Structs.DomRect(rect.X, rect.Y, rect.Width, rect.Height);
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
image: Visual Studio 2019
version: 111.2.70-CI{build}
version: 112.2.70-CI{build}
clone_depth: 10