Skip to content

Commit

Permalink
Auto merge of #8605 - Ms2ger:rename-argument, r=jdm
Browse files Browse the repository at this point in the history
Rename a confusing argument.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8605)
<!-- Reviewable:end -->
  • Loading branch information
bors-servo committed Nov 19, 2015
2 parents 4f1feb3 + b711789 commit 7526ed7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/script/dom/bindings/utils.rs
Expand Up @@ -358,12 +358,12 @@ fn define_constants(cx: *mut JSContext, obj: HandleObject, constants: &'static [
/// Creates the *interface prototype object*.
/// Fails on JSAPI failure.
fn create_interface_prototype_object(cx: *mut JSContext,
global: HandleObject,
parent_proto: HandleObject,
proto_class: &'static JSClass,
members: &'static NativeProperties,
rval: MutableHandleObject) {
unsafe {
rval.set(JS_NewObjectWithUniqueType(cx, proto_class, global));
rval.set(JS_NewObjectWithUniqueType(cx, proto_class, parent_proto));
assert!(!rval.get().is_null());

if let Some(methods) = members.methods {
Expand Down

0 comments on commit 7526ed7

Please sign in to comment.