Bug 1956726 - Migrate histograms to use Glean APIs in gfx/, r=chutten,jgilbert,firefox-desktop-core-reviewers ,mconley.
Differential Revision: https://phabricator.services.mozilla.com/D242765
This commit is contained in:
@@ -1849,9 +1849,7 @@ BrowserGlue.prototype = {
|
||||
|
||||
_firstWindowTelemetry(aWindow) {
|
||||
let scaling = aWindow.devicePixelRatio * 100;
|
||||
try {
|
||||
Services.telemetry.getHistogramById("DISPLAY_SCALING").add(scaling);
|
||||
} catch (ex) {}
|
||||
Glean.gfxDisplay.scaling.accumulateSingleSample(scaling);
|
||||
},
|
||||
|
||||
_collectStartupConditionsTelemetry() {
|
||||
|
||||
Reference in New Issue
Block a user