Don't instantiate unneeded gfx::IntSize
[viewport] Don't recalculate viewport until before-first-paint is emitted
Merge pull request #42 from rojkov/jb11251

Don't recalculate viewport until before-first-paint is emitted