]> khamidou — GitHub mirrors - electron.git/commitdiff
remove kDisableLegacyIntermediateWindow switch set
authorJoao Moreno <mail@joaomoreno.com>
Wed, 4 Nov 2015 00:12:01 +0000 (16:12 -0800)
committerJoao Moreno <mail@joaomoreno.com>
Wed, 4 Nov 2015 00:12:01 +0000 (16:12 -0800)
atom/app/atom_main_delegate.cc

index e4ac7cfc0a9963c3d60c4514dfd4e4453ec54f0c..3bc1ac49708291aa3fff69862793f01f540cbda8 100644 (file)
@@ -102,13 +102,6 @@ void AtomMainDelegate::PreSandboxStartup() {
   if (!IsBrowserProcess(command_line))
     return;
 
-#if defined(OS_WIN)
-  // Disable the LegacyRenderWidgetHostHWND, it made frameless windows unable
-  // to move and resize. We may consider enabling it again after upgraded to
-  // Chrome 38, which should have fixed the problem.
-  command_line->AppendSwitch(switches::kDisableLegacyIntermediateWindow);
-#endif
-
   // Disable renderer sandbox for most of node's functions.
   command_line->AppendSwitch(switches::kNoSandbox);