Bring back accelerated composition.
This commit is contained in:
parent
0fe65a688e
commit
1b3e6bdb92
1 changed files with 0 additions and 4 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue