File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
CefSharp.BrowserSubprocess Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,6 @@ public static int Main(string[] args)
2121 {
2222 Debug . WriteLine ( "BrowserSubprocess starting up with command line: " + string . Join ( "\n " , args ) ) ;
2323
24- SubProcess . EnableHighDPISupport ( ) ;
25-
2624 if ( ! System . IO . File . Exists ( "CefSharp.dll" ) && System . IO . File . Exists ( "..\\ CefSharp.dll" ) )
2725 {
2826 //For publshing ClickOnce AnyCPU CefSharp.dll isn't included in the x64 build
@@ -37,6 +35,8 @@ public static int Main(string[] args)
3735 [ MethodImpl ( MethodImplOptions . NoInlining ) ]
3836 private static int MainInternal ( string [ ] args )
3937 {
38+ SubProcess . EnableHighDPISupport ( ) ;
39+
4040 //Add your own custom implementation of IRenderProcessHandler here
4141 IRenderProcessHandler handler = null ;
4242
You can’t perform that action at this time.
0 commit comments