Commit 14ebf692 authored by Jiajia Qin's avatar Jiajia Qin Committed by Commit Bot

Fix that kUseANGLE is not recognized by chromeos

Previously, '--use-angle=gles' was not recoginzed by chromeos. If call
'command_line->GetSwitchValueASCII(switches::kUseANGLE)', it will return ''.
This patch makes it get correct value.

Bug: 1093720
Change-Id: I51dd57be40206c3c2b077c22241283da98d45f9f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2241292Reviewed-by: default avatarKenneth Russell <kbr@chromium.org>
Reviewed-by: default avatarRoman Sorokin [CET] <rsorokin@chromium.org>
Commit-Queue: Jiajia Qin <jiajia.qin@intel.com>
Cr-Commit-Position: refs/heads/master@{#779707}
parent cfdc4ca9
......@@ -95,6 +95,7 @@ void DeriveCommandLine(const GURL& start_url,
::switches::kDisableGpuMemoryBufferVideoFrames,
::switches::kDisableGpuShaderDiskCache,
::switches::kUseCmdDecoder,
::switches::kUseANGLE,
::switches::kDisableGpuWatchdog,
::switches::kDisableGpuCompositing,
::switches::kDisableGpuRasterization,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment