[Android] Initialize CommandLine before any usage in Render.
On low-end devices, if Chrome was upgraded from a previous version, Chrome decides to use normal mode to keep user experience consistent. This is done by force '--low-end-device-mode=0' on both browser and render processes. However, when crazy linker is used, Linker.isUsed() triggers SysUtils.detectLowEndDevice() call which checks CommandLine first. Existing code invokes Linker.isUsed() before initilizing CommandLine, which causes the render process ignores '--low-end-device-mode=0'. This results the browser in normal mode, but render is in low-end device mode. BUG=424228 Review URL: https://codereview.chromium.org/665273003 Cr-Commit-Position: refs/heads/master@{#301581}
Showing
Please register or sign in to comment