Skip to content

Commit f14ecb6

Browse files
committed
Core - Remove Cef.EnableHighDPISupport
Resolves #4417
1 parent 874f18b commit f14ecb6

File tree

3 files changed

+0
-26
lines changed

3 files changed

+0
-26
lines changed

CefSharp.BrowserSubprocess.Core/SubProcess.h

-5
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,6 @@ namespace CefSharp
6767

6868
}
6969

70-
static void EnableHighDPISupport()
71-
{
72-
CefEnableHighDPISupport();
73-
}
74-
7570
static int ExecuteProcess(IEnumerable<String^>^ args)
7671
{
7772
auto hInstance = Process::GetCurrentProcess()->Handle;

CefSharp.Core.Runtime/Cef.h

-10
Original file line numberDiff line numberDiff line change
@@ -638,16 +638,6 @@ namespace CefSharp
638638
return CefClearSchemeHandlerFactories();
639639
}
640640

641-
/// <summary>
642-
/// Call during process startup to enable High-DPI support on Windows 7 or newer.
643-
/// Older versions of Windows should be left DPI-unaware because they do not
644-
/// support DirectWrite and GDI fonts are kerned very badly.
645-
/// </summary>
646-
static void EnableHighDPISupport()
647-
{
648-
CefEnableHighDPISupport();
649-
}
650-
651641
/// <summary>
652642
/// Returns true if called on the specified CEF thread.
653643
/// </summary>

CefSharp.Core/Cef.cs

-11
Original file line numberDiff line numberDiff line change
@@ -422,17 +422,6 @@ public static bool ClearSchemeHandlerFactories()
422422
return Core.Cef.ClearSchemeHandlerFactories();
423423
}
424424

425-
/// <summary>
426-
/// Call during process startup to enable High-DPI support on Windows 7 or newer.
427-
/// Older versions of Windows should be left DPI-unaware because they do not
428-
/// support DirectWrite and GDI fonts are kerned very badly.
429-
/// </summary>
430-
[Obsolete("This method will be removed in M113. See https://github.com/cefsharp/CefSharp/issues/4417")]
431-
public static void EnableHighDPISupport()
432-
{
433-
Core.Cef.EnableHighDPISupport();
434-
}
435-
436425
/// <summary>
437426
/// Returns true if called on the specified CEF thread.
438427
/// </summary>

0 commit comments

Comments
 (0)