]> khamidou — GitHub mirrors - electron.git/commitdiff
Bring back accelerated composition.
authorCheng Zhao <zcbenz@gmail.com>
Thu, 6 Mar 2014 02:30:42 +0000 (10:30 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 6 Mar 2014 02:30:42 +0000 (10:30 +0800)
app/atom_main_delegate.cc

index c6b1a554eb943563098943ebfdcf75af86cf2257..6346343b8dfe37925c0b1f4b5d752517c858c0bc 100644 (file)
@@ -70,10 +70,6 @@ void AtomMainDelegate::PreSandboxStartup() {
   // Disable renderer sandbox for most of node's functions.
   command_line->AppendSwitch(switches::kNoSandbox);
 
-  // Disable accelerated compositing since it caused a lot of troubles (black
-  // devtools, screen flashes) and needed lots of effort to make it right.
-  command_line->AppendSwitch(switches::kDisableAcceleratedCompositing);
-
   // Add a flag to mark the end of switches added by atom-shell.
   command_line->AppendSwitch("atom-shell-switches-end");
 }