Skip to content

Commit

Permalink
style: Update layer filling function call.
Browse files Browse the repository at this point in the history
  • Loading branch information
heycam committed Nov 21, 2017
1 parent 00b3612 commit f2bc28f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/style/properties/gecko.mako.rs
Expand Up @@ -4072,7 +4072,7 @@ fn static_assert() {
fill_fields += " mMaskMode mComposite"
%>
pub fn fill_arrays(&mut self) {
use gecko_bindings::bindings::Gecko_FillAll${shorthand.title()}Lists;
use gecko_bindings::bindings::Gecko_FillAllImageLayers;
use std::cmp;
let mut max_len = 1;
% for member in fill_fields.split():
Expand All @@ -4081,7 +4081,7 @@ fn static_assert() {
unsafe {
// While we could do this manually, we'd need to also manually
// run all the copy constructors, so we just delegate to gecko
Gecko_FillAll${shorthand.title()}Lists(&mut self.gecko.${image_layers_field}, max_len);
Gecko_FillAllImageLayers(&mut self.gecko.${image_layers_field}, max_len);
}
}
</%def>
Expand Down

0 comments on commit f2bc28f

Please sign in to comment.