Commit 1cb56354 authored by Masanori Ogino's avatar Masanori Ogino Committed by Brian Muramatsu
Browse files

The accuracy of WebView scale is less than density scale's one

The scale returned by getScale() is calculated as below;
- scale = (int)(100 * density)
- scale = scale/100.0f
So the scale is reduced its accuracy less than second decimal.
Therefore assertion should has delta 0.01f.

Change-Id: Ic5511e66a75d6e5dbc7dccec392b4a7e1b98e59b
parent 4a797b5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment