From 24348f061f724b55950bbbed4e4a9004c26a1d79 Mon Sep 17 00:00:00 2001 From: Wrzucher Date: Fri, 21 Jan 2022 07:44:30 +0600 Subject: [PATCH] Remove commented code (#63869) --- .../System.Drawing.Common/src/System/Drawing/GdiplusNative.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libraries/System.Drawing.Common/src/System/Drawing/GdiplusNative.cs b/src/libraries/System.Drawing.Common/src/System/Drawing/GdiplusNative.cs index a435640a795c1..8fef9cbc472b2 100644 --- a/src/libraries/System.Drawing.Common/src/System/Drawing/GdiplusNative.cs +++ b/src/libraries/System.Drawing.Common/src/System/Drawing/GdiplusNative.cs @@ -1399,7 +1399,6 @@ internal struct StartupInput { public int GdiplusVersion; // Must be 1 - // public DebugEventProc DebugEventCallback; // Ignored on free builds public IntPtr DebugEventCallback; public bool SuppressBackgroundThread; // FALSE unless you're prepared to call @@ -1416,7 +1415,6 @@ public static StartupInput GetDefault() // In Windows 7 GDI+1.1 story is different as there are different binaries per GDI+ version. bool isWindows7 = os.Platform == PlatformID.Win32NT && os.Version.Major == 6 && os.Version.Minor == 1; result.GdiplusVersion = isWindows7 ? 1 : 2; - // result.DebugEventCallback = null; result.SuppressBackgroundThread = false; result.SuppressExternalCodecs = false; return result;