Remove window from performance object access (#845)

This commit is contained in:
toasted-nutbread 2020-09-19 18:41:13 -04:00 committed by GitHub
parent a2e6de84af
commit 4293f73153
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ class Timer {
} }
sample(name) { sample(name) {
const time = window.performance.now(); const time = performance.now();
this.samples.push({ this.samples.push({
name, name,
time, time,