Bug 1007897 - Release mSurface reference earlier to reduce copies and peak memory. r=mattwoodrow

--HG--
extra : rebase_source : 2f2a46c66e41010a5e8afb4d9d6e95d0f27bd763
Bug 926922 - Log reason for layout flushes in profiles. r=ehsan,bz

--HG--
extra : rebase_source : 5383b80a1d0d1ddb36351dea1ad44f27b93001a2
Bug 1004899 - Add stderr to profile output. r=ehsan

--HG--
extra : rebase_source : e21a60c60521bcd0471c36645378ef9231c9e243