Rename some local variables and shorten some lines.

This was done manually, and might benefit from a more careful review.
This commit is contained in:
Bobby Holley 2013-10-09 09:53:23 +02:00
parent 622aa76515
commit 549ac6a29b
11 changed files with 25 additions and 40 deletions

View file

@ -27,8 +27,7 @@ impl DOMParser {
// TODO(tkuehn): This just handles the top-level page. Need to handle subframes.
let cx = owner.page.js_info.get_ref().js_compartment.cx.ptr;
let cache = owner.reflector();
let scope = cache.get_jsobject();
let scope = owner.reflector().get_jsobject();
parser.wrap_object_shared(cx, scope);
parser
}