aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorShinichi Morimoto <shnmorimoto@gmail.com>2019-12-08 00:34:02 +0900
committerJosh Matthews <josh@joshmatthews.net>2019-12-13 13:41:47 -0500
commit91287216f5d9a779eabe873a5daaa753569da9bc (patch)
tree204472b82c0b6389a1cfdaa33f986c5516a41676 /components/script/script_thread.rs
parentfaee09ffa9f6adb30593fec32904aa352e58c6ee (diff)
downloadservo-91287216f5d9a779eabe873a5daaa753569da9bc.tar.gz
servo-91287216f5d9a779eabe873a5daaa753569da9bc.zip
#24468 Performance::queue_entries return the index of the added performance entry
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index 1373896cdff..64fd85b210b 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -3889,10 +3889,9 @@ impl ScriptThread {
metric_type,
metric_value,
);
- window.Performance().queue_entry(
- &entry.upcast::<PerformanceEntry>(),
- true, /* buffer performance entry */
- );
+ window
+ .Performance()
+ .queue_entry(&entry.upcast::<PerformanceEntry>());
}
}