Don't instantiate unneeded gfx::IntSize
[viewport] Don't recalculate viewport until before-first-paint is emitted
[xulrunner] Sync with upstream. Merge remote-tracking branch 'origin/embedlite_beta' into nemo_embedlite_35