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