diff options
author | Shotaro Yamada <sinkuu@sinkuu.xyz> | 2018-12-11 10:43:51 +0900 |
---|---|---|
committer | Shotaro Yamada <sinkuu@sinkuu.xyz> | 2018-12-11 10:43:51 +0900 |
commit | c44a2febe6f5f63f5b0d171c7793d00abb4f1dbd (patch) | |
tree | 74e446ae81da035445e300ae569d737ab5d38056 /components/webvr/webvr_thread.rs | |
parent | eeaca0b26d4bd46668fb792dccfbee0111982f6a (diff) | |
download | servo-c44a2febe6f5f63f5b0d171c7793d00abb4f1dbd.tar.gz servo-c44a2febe6f5f63f5b0d171c7793d00abb4f1dbd.zip |
Remove redundant `.clone()`s
Diffstat (limited to 'components/webvr/webvr_thread.rs')
-rw-r--r-- | components/webvr/webvr_thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/webvr/webvr_thread.rs b/components/webvr/webvr_thread.rs index bd0897a281c..5c6889066b1 100644 --- a/components/webvr/webvr_thread.rs +++ b/components/webvr/webvr_thread.rs @@ -287,7 +287,7 @@ impl WebVRThread { fn notify_events(&self, events: Vec<VREvent>) { let pipeline_ids: Vec<PipelineId> = self.contexts.iter().map(|c| *c).collect(); self.constellation_chan - .send(ConstellationMsg::WebVREvents(pipeline_ids.clone(), events)) + .send(ConstellationMsg::WebVREvents(pipeline_ids, events)) .unwrap(); } |