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

Commit 4a6496b8 authored by Steve Kondik's avatar Steve Kondik
Browse files

Revert "Remove size height feedback from view system to webkit if the view...

Revert "Remove size height feedback from view system to webkit if the view height is set by height of content"

This reverts commit 50b14a78.
parent 63e97ef8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
/*
 * Copyright (C) 2006 The Android Open Source Project
 * Copyright (C) 2010 Sony Ericsson Mobile Communications AB
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
@@ -2114,7 +2113,7 @@ public class WebView extends AbsoluteLayout

        int viewWidth = getViewWidth();
        int newWidth = Math.round(viewWidth * mInvActualScale);
        int newHeight = mHeightCanMeasure ? 0 : Math.round(getViewHeight() * mInvActualScale);
        int newHeight = Math.round(getViewHeight() * mInvActualScale);
        /*
         * Because the native side may have already done a layout before the
         * View system was able to measure us, we have to send a height of 0 to