docs: Use app.disableHardwareAcceleration() instead of --disable-gpu
authorCheng Zhao <zcbenz@gmail.com>
Wed, 3 Aug 2016 01:32:29 +0000 (10:32 +0900)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 3 Aug 2016 01:32:29 +0000 (10:32 +0900)
commit63c34f3dcf5f1a87a40e7cbf9061f49c1f3a89fa
tree875c69edd46ede3c5d992ae1c54466dc13f4aebd
parentc8b544ee1f415f1b016ce94b7b0ce1a54bda5212
docs: Use app.disableHardwareAcceleration() instead of --disable-gpu

The --disable-gpu switch does not work when passed with `appendSwitch`.
docs/api/chrome-command-line-switches.md
docs/tutorial/offscreen-rendering.md