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

Commit 52a31da2 authored by Shimeng (Simon) Wang's avatar Shimeng (Simon) Wang Committed by Android (Google) Code Review
Browse files

Merge "Consider default zoom scale for mobile viewport."

parents 92a1af54 82a07704
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1900,7 +1900,7 @@ public final class WebViewCore {
                width = mViewportWidth;
            } else {
                // For mobile web site.
                width = mWebView.getViewWidth();
                width = Math.round(mWebView.getViewWidth() / mWebView.getDefaultZoomScale());
            }
        }
        return width;