<rdar://problem/11855229> When in paginated mode, the layout timer fires continually
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Aug 2012 19:38:59 +0000 (19:38 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Aug 2012 19:38:59 +0000 (19:38 +0000)
commit11f2dd5068340026f5130b1cc8f7f6607ef28ca4
tree46dfd724d28582f33db60ca60bcdd77afda70add
parentc08eebb3594476fc4bcf04a34f6a6cee71f4d487
<rdar://problem/11855229> When in paginated mode, the layout timer fires continually
https://bugs.webkit.org/show_bug.cgi?id=91038

Reviewed by Simon Fraser.

* page/Page.cpp:
(WebCore::Page::pageCount): Changed to only trigger layout if needed.

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