forked from mirrors/gecko-dev
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:
parent
2d0615e3f4
commit
b7f470a239
1 changed files with 4 additions and 0 deletions
|
|
@ -5377,6 +5377,10 @@ public class GeckoSession implements Parcelable {
|
|||
|
||||
|
||||
/* package */ void setFixedBottomOffset(final int offset) {
|
||||
if (mFixedBottomOffset == offset) {
|
||||
return;
|
||||
}
|
||||
|
||||
mFixedBottomOffset = offset;
|
||||
|
||||
if (mCompositorReady) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue