Make window.innerWidth and innerHeight cause layout if needed.

innerWidth and innerHeight depend on the page scale. During page load the page
scale is set to the minimum. The minimum scale factor is based on the viewport
constraints and content width and so to get correct values during loading we
need to layout. This only happens on the main window and only if viewport tag
support is enabled, since otherwise the page loads at scale = 1.

BUG=466718

Review URL: https://codereview.chromium.org/1094673002

git-svn-id: svn://svn.chromium.org/blink/trunk@194150 bbb929c8-8fbe-4397-9dbb-9b2b20218538
4 files changed