mirror of
https://github.com/servo/servo.git
synced 2025-06-20 07:08:59 +01:00
auto merge of #1602 : pcwalton/servo/more-inlines, r=jdm
9% improvement in style recalc on the rainbow page. r? @jdm
This commit is contained in:
commit
edd7e32fdb
3 changed files with 12 additions and 0 deletions
|
@ -597,6 +597,7 @@ pub struct Reflector {
|
|||
}
|
||||
|
||||
impl Reflector {
|
||||
#[inline]
|
||||
pub fn get_jsobject(&self) -> *JSObject {
|
||||
self.object
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue