commit | 156604cbedd569b869621f0bca66c91064d8dab6 | [log] [tgz] |
---|---|---|
author | kling@webkit.org <kling@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Fri Dec 16 08:51:18 2011 +0000 |
committer | kling@webkit.org <kling@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Fri Dec 16 08:51:18 2011 +0000 |
tree | 5fa07e44d467999c38b650bacc791ae111287d88 | |
parent | 7b890dcc271e06cb3115a4afd2bbb9dd720a652d [diff] |
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