Bug 1083624 - Fix assertion failure in Factory::GetDirect3D10Device(). r=bas.

--HG--
extra : rebase_source : e28b1575b8bd4706d7d203696a1280c76e103ef6
Bug 1084114 - Use a better buffer growth strategy during XDR encoding. r=luke.

--HG--
extra : rebase_source : 800768a4534cedf857dbc8bff2fcc149d6adff00