Bug 1600814 - Don't call setFixedBottomOffset if the offset value is not changed. r=geckoview-reviewers,snorp

Differential Revision: https://phabricator.services.mozilla.com/D55577

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Hiroyuki Ikezoe 2019-12-02 23:14:30 +00:00
parent 2d0615e3f4
commit b7f470a239

View File

@ -5377,6 +5377,10 @@ public class GeckoSession implements Parcelable {
/* package */ void setFixedBottomOffset(final int offset) {
if (mFixedBottomOffset == offset) {
return;
}
mFixedBottomOffset = offset;
if (mCompositorReady) {