Use the bare minimum tile coverage rect when under memory pressure.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Jul 2014 21:10:46 +0000 (21:10 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Jul 2014 21:10:46 +0000 (21:10 +0000)
commit6c0e51940621d85fa44f0f66cc001d1ae8d9f7cc
treef79e50f1993d4ca70ff96cb2f47496e2991dc1f8
parentdb10075cd8b59a11c51e39923e23d97518d53ad6
Use the bare minimum tile coverage rect when under memory pressure.
<https://webkit.org/b/134837>

When the browser is under critical memory pressure, don't generate any
more tiles than are needed to cover the exposed viewport rect.

Reviewed by Pratik Solanki.

* page/FrameView.cpp:
(WebCore::FrameView::computeCoverageRect):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@171012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/page/FrameView.cpp