Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d76cd5eb authored by Android (Google) Code Review's avatar Android (Google) Code Review Committed by The Android Open Source Project
Browse files

am 15760159: Merge change 5413 into donut

Merge commit '15760159'

* commit '15760159':
  Need to write the correct float math.
parents f5c50bab 15760159
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1620,7 +1620,7 @@ final class WebViewCore {

        // adjust the default scale to match the density
        if (WebView.DEFAULT_SCALE_PERCENT != 100) {
            float adjust = WebView.DEFAULT_SCALE_PERCENT / 100;
            float adjust = (float) WebView.DEFAULT_SCALE_PERCENT / 100.0f;
            if (mViewportInitialScale > 0) {
                mViewportInitialScale *= adjust;
            }