commit | 8c0a7dbec78b99d92288be89e5e6e1ab2bb86075 | [log] [tgz] |
---|---|---|
author | kling@webkit.org <kling@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Wed Dec 07 16:40:31 2011 +0000 |
committer | kling@webkit.org <kling@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Wed Dec 07 16:40:31 2011 +0000 |
tree | 27e4af78b2fc89554c54cfb8956f05715ab11378 | |
parent | 46b86a5ebdeeb6f62128517d8428842106e4a23e [diff] |
Micro-optimize ScrollView::visibleContentRect(). <http://webkit.org/b/74001> Reviewed by Anders Carlsson. Reorder the scrollbar exclusion code to minimize the number of virtual calls to ScrollableArea::verticalScrollbar(), ScrollableArea::horizontalScrollbar() and Scrollbar::isOverlayScrollbar(). * platform/ScrollView.cpp: (WebCore::ScrollView::visibleContentRect): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@102243 268f45cc-cd09-0410-ab3c-d52691b4dbfc