aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_task.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2015-08-12 00:56:36 -0400
committerJosh Matthews <josh@joshmatthews.net>2015-08-12 00:59:58 -0400
commite59de756081f0c5f3f0341cd8ded374537b2a22e (patch)
treeb5faec442617b4df18b0d1aaedcea3d6647778db /components/script/script_task.rs
parent47b9e89c6613b95ea4fe60c306390e89ce2c592c (diff)
downloadservo-e59de756081f0c5f3f0341cd8ded374537b2a22e.tar.gz
servo-e59de756081f0c5f3f0341cd8ded374537b2a22e.zip
Simplify devtools frame marker notification. Record each frame tick based on a single message sent from the script task that ticked.
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r--components/script/script_task.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs
index efbad39dc86..fd8b1b81789 100644
--- a/components/script/script_task.rs
+++ b/components/script/script_task.rs
@@ -914,8 +914,8 @@ impl ScriptTask {
devtools::handle_set_timeline_markers(&page, self, marker_types, reply),
DevtoolScriptControlMsg::DropTimelineMarkers(_pipeline_id, marker_types) =>
devtools::handle_drop_timeline_markers(&page, self, marker_types),
- DevtoolScriptControlMsg::RequestAnimationFrame(pipeline_id, callback) =>
- devtools::handle_request_animation_frame(&page, pipeline_id, callback),
+ DevtoolScriptControlMsg::RequestAnimationFrame(pipeline_id, name) =>
+ devtools::handle_request_animation_frame(&page, pipeline_id, name),
}
}