DescriptionDefault 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
Committed: https://crrev.com/62d4c69ec6bfaff365d9b240c1519802ddd245ab
Cr-Commit-Position: refs/heads/master@{#342505}
Patch Set 1 #Patch Set 2 : with unit test #
Messages
Total messages: 9 (3 generated)
|