summaryrefslogtreecommitdiffstats
path: root/application/basilisk/base/content/browser-gestureSupport.js
diff options
context:
space:
mode:
authorGaming4JC <g4jc@bulletmail.org>2018-08-19 18:18:36 -0400
committerGaming4JC <g4jc@bulletmail.org>2018-08-19 18:18:36 -0400
commitf3ea4b9d7ac88193b0669e12a31a20685c89691b (patch)
tree36c3c1770d3a2e636e34259975401014e923ddf1 /application/basilisk/base/content/browser-gestureSupport.js
parentf36ad080c6f2f13012180dc0ac566893be9020ad (diff)
downloadUXP-f3ea4b9d7ac88193b0669e12a31a20685c89691b.tar
UXP-f3ea4b9d7ac88193b0669e12a31a20685c89691b.tar.gz
UXP-f3ea4b9d7ac88193b0669e12a31a20685c89691b.tar.lz
UXP-f3ea4b9d7ac88193b0669e12a31a20685c89691b.tar.xz
UXP-f3ea4b9d7ac88193b0669e12a31a20685c89691b.zip
Basilisk: Remove TelemetryStopwatch
Diffstat (limited to 'application/basilisk/base/content/browser-gestureSupport.js')
-rw-r--r--application/basilisk/base/content/browser-gestureSupport.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/application/basilisk/base/content/browser-gestureSupport.js b/application/basilisk/base/content/browser-gestureSupport.js
index f472e5c9a..6c21a6ad5 100644
--- a/application/basilisk/base/content/browser-gestureSupport.js
+++ b/application/basilisk/base/content/browser-gestureSupport.js
@@ -1001,13 +1001,10 @@ var gHistorySwipeAnimation = {
ctx.DRAWWINDOW_ASYNC_DECODE_IMAGES |
ctx.DRAWWINDOW_USE_WIDGET_LAYERS);
- TelemetryStopwatch.start("FX_GESTURE_INSTALL_SNAPSHOT_OF_PAGE");
try {
this._installCurrentPageSnapshot(canvas);
this._assignSnapshotToCurrentBrowser(canvas);
- } finally {
- TelemetryStopwatch.finish("FX_GESTURE_INSTALL_SNAPSHOT_OF_PAGE");
- }
+ } catch (e) {}
},
/**
@@ -1058,7 +1055,6 @@ var gHistorySwipeAnimation = {
return;
}
- TelemetryStopwatch.start("FX_GESTURE_COMPRESS_SNAPSHOT_OF_PAGE");
try {
let browser = gBrowser.selectedBrowser;
let snapshots = browser.snapshots;
@@ -1072,9 +1068,7 @@ var gHistorySwipeAnimation = {
}
}, "image/png"
);
- } finally {
- TelemetryStopwatch.finish("FX_GESTURE_COMPRESS_SNAPSHOT_OF_PAGE");
- }
+ } catch (e) {}
},
/**