mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 18:04:46 +00:00
Bug 1788780 - Remove unused telemetry variables lastScreenX
and lastScreenY
. r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D156479
This commit is contained in:
parent
3cddbdca80
commit
0ddeec7e25
@ -112,11 +112,8 @@ let Player = {
|
||||
*/
|
||||
resizeDebouncer: null,
|
||||
/**
|
||||
* Used for window movement Telemetry to determine if the player window has
|
||||
* moved since the last time we checked.
|
||||
* Used for Telemetry to identify the window.
|
||||
*/
|
||||
lastScreenX: -1,
|
||||
lastScreenY: -1,
|
||||
id: -1,
|
||||
|
||||
/**
|
||||
@ -245,9 +242,6 @@ let Player = {
|
||||
});
|
||||
}, RESIZE_DEBOUNCE_RATE_MS);
|
||||
|
||||
this.lastScreenX = window.screenX;
|
||||
this.lastScreenY = window.screenY;
|
||||
|
||||
this.computeAndSetMinimumSize(window.outerWidth, window.outerHeight);
|
||||
|
||||
// alwaysontop windows are not focused by default, so we have to do it
|
||||
@ -656,9 +650,6 @@ let Player = {
|
||||
* Event context details
|
||||
*/
|
||||
onMouseUp(event) {
|
||||
this.lastScreenX = window.screenX;
|
||||
this.lastScreenY = window.screenY;
|
||||
|
||||
// Corner snapping changes start here.
|
||||
// Check if metakey pressed and macOS
|
||||
let quadrant = this.determineCurrentQuadrant();
|
||||
|
Loading…
Reference in New Issue
Block a user