Use Foo::from(ptr) to construct objects (to fix build error on master).
Merge branch 'rust-servo' into rust-0.9: Use Foo::from(ptr) to construct objects (to fix build error on master).