commit | 34ca1ded8bf2b8849d24599c9330f0702670d810 | [log] [tgz] |
---|---|---|
author | thestig <thestig@chromium.org> | Sat Aug 08 11:27:05 2015 +0900 |
committer | Qijiang Fan <fqj@google.com> | Thu Jun 04 19:25:36 2020 +0900 |
tree | e27d35072e9282ed987bdd183999844f9f9254e7 | |
parent | 95452b222e759c71e0be2281edda34dab4df646e [diff] |
Default to 1 when --force-device-scale-factor has an invalid value. Currently, the scaling factor may end up as 0, causing a divide by 0. Also add warnings to base::StringToFoo(). BUG=517944 Review URL: https://codereview.chromium.org/1278173006 Cr-Commit-Position: refs/heads/master@{#342505} CrOS-Libchrome-Original-Commit: 62d4c69ec6bfaff365d9b240c1519802ddd245ab