aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webglrenderingcontext.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2018-07-03 02:11:35 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2018-07-05 14:20:47 +0200
commit0814bd669980f4e5bf8c65bfcc38ac67f152eb93 (patch)
tree685c242b844dafcc87dc7644b554d922448889e6 /components/script/dom/webglrenderingcontext.rs
parent0018e5e6ba21ea85157f44f68ed66a7127f314bd (diff)
downloadservo-0814bd669980f4e5bf8c65bfcc38ac67f152eb93.tar.gz
servo-0814bd669980f4e5bf8c65bfcc38ac67f152eb93.zip
Rename VertexAttribs::set_from to VertexAttribs::clone_from
Diffstat (limited to 'components/script/dom/webglrenderingcontext.rs')
-rw-r--r--components/script/dom/webglrenderingcontext.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webglrenderingcontext.rs b/components/script/dom/webglrenderingcontext.rs
index 7a6b558144c..c415063deb0 100644
--- a/components/script/dom/webglrenderingcontext.rs
+++ b/components/script/dom/webglrenderingcontext.rs
@@ -3811,7 +3811,7 @@ impl VertexAttribs {
}
}
- pub fn set_from(&self, other: &Self) {
+ pub fn clone_from(&self, other: &Self) {
self.attribs.borrow_mut().clone_from_slice(&other.attribs.borrow());
}