Bring back accelerated composition.

This commit is contained in:
Cheng Zhao 2014-03-06 10:30:42 +08:00
parent 0fe65a688e
commit 1b3e6bdb92

View file

@ -70,10 +70,6 @@ void AtomMainDelegate::PreSandboxStartup() {
// Disable renderer sandbox for most of node's functions. // Disable renderer sandbox for most of node's functions.
command_line->AppendSwitch(switches::kNoSandbox); 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. // Add a flag to mark the end of switches added by atom-shell.
command_line->AppendSwitch("atom-shell-switches-end"); command_line->AppendSwitch("atom-shell-switches-end");
} }