mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 12:09:40 +00:00
Upgrade to 112.2.70
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
@@ -1,6 +1,6 @@
|
||||
image: Visual Studio 2019
|
||||
|
||||
version: 111.2.70-CI{build}
|
||||
version: 112.2.70-CI{build}
|
||||
|
||||
clone_depth: 10
|
||||
|
||||
|
||||
Reference in New Issue
Block a user