RESOLVED FIXED 74683
Don't call Document::body() twice in the same function.
https://bugs.webkit.org/show_bug.cgi?id=74683
Summary Don't call Document::body() twice in the same function.
Andreas Kling
Reported 2011-12-15 21:10:14 PST
Document::body() is O(n) and Document::updateLayoutIgnorePendingStylesheets() may call it twice for no good reason. We can't have this!
Attachments
Patch (1.63 KB, patch)
2011-12-15 21:10 PST, Andreas Kling
no flags
Patch (1.62 KB, patch)
2011-12-15 21:14 PST, Andreas Kling
no flags
Andreas Kling
Comment 1 2011-12-15 21:10:56 PST
Andreas Kling
Comment 2 2011-12-15 21:14:30 PST
WebKit Review Bot
Comment 3 2011-12-16 00:51:35 PST
Comment on attachment 119556 [details] Patch Clearing flags on attachment: 119556 Committed r103043: <http://trac.webkit.org/changeset/103043>
WebKit Review Bot
Comment 4 2011-12-16 00:51:41 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.