mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
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
@ -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 New Issue
Block a user