Unreviewed, rolling out r140270.
http://trac.webkit.org/changeset/140270
https://bugs.webkit.org/show_bug.cgi?id=107253

Hit asserts in a debug build

* bindings/v8/V8DOMWindowShell.cpp:
(WebCore::V8DOMWindowShell::installDOMWindow):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] some websites only takes half of the screen after rotating from landscape to portrait mode.
https://bugs.webkit.org/show_bug.cgi?id=107103

Reviewed by George Staikos.
Internally reviewed by Jacky Jiang.

When the document size changes (by some javascript) which makes it too small to fit the viewport, we should
automatically zoom it to fit the viewport.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::layoutFinished):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140289 268f45cc-cd09-0410-ab3c-d52691b4dbfc