Don't call Document::body() twice in the same function.
<http://webkit.org/b/74683>

Reviewed by Dan Bernstein.

Document::body() is O(n), so we should avoid calling it multiple
times unnecessarily.

* dom/Document.cpp:
(WebCore::Document::updateLayoutIgnorePendingStylesheets):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@103043 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2 files changed