From: Cheng Zhao Date: Thu, 6 Mar 2014 02:30:42 +0000 (+0800) Subject: Bring back accelerated composition. X-Git-Tag: v0.10.6~1^2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=1b3e6bdb92e0d7925bc54644c5338f02c8b86040;p=electron.git Bring back accelerated composition. --- diff --git a/app/atom_main_delegate.cc b/app/atom_main_delegate.cc index c6b1a554..6346343b 100644 --- a/app/atom_main_delegate.cc +++ b/app/atom_main_delegate.cc @@ -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"); }