diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-08-20 08:18:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-20 08:18:55 +0200 |
commit | 29fbe8f27d58a0dfa64aadbbd1757dbbeff3a4fd (patch) | |
tree | 36c3c1770d3a2e636e34259975401014e923ddf1 /application/basilisk/base/content/browser-gestureSupport.js | |
parent | f36ad080c6f2f13012180dc0ac566893be9020ad (diff) | |
parent | f3ea4b9d7ac88193b0669e12a31a20685c89691b (diff) | |
download | UXP-29fbe8f27d58a0dfa64aadbbd1757dbbeff3a4fd.tar UXP-29fbe8f27d58a0dfa64aadbbd1757dbbeff3a4fd.tar.gz UXP-29fbe8f27d58a0dfa64aadbbd1757dbbeff3a4fd.tar.lz UXP-29fbe8f27d58a0dfa64aadbbd1757dbbeff3a4fd.tar.xz UXP-29fbe8f27d58a0dfa64aadbbd1757dbbeff3a4fd.zip |
Merge pull request #716 from g4jc/remove_telemetry_stopwatch
Basilisk: Remove TelemetryStopwatch
Diffstat (limited to 'application/basilisk/base/content/browser-gestureSupport.js')
-rw-r--r-- | application/basilisk/base/content/browser-gestureSupport.js | 10 |
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) {} }, /** |