Changeset 127538 in webkit
- Timestamp:
- Sep 4, 2012 6:31:38 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r127535 r127538 1 2012-09-04 Tony Chang <tony@chromium.org> 2 3 Use TrackedRendererListHashSet typedef for percentHeightDescendants() 4 https://bugs.webkit.org/show_bug.cgi?id=95791 5 6 Reviewed by Ojan Vafai. 7 8 There were a couple callers that were using ListHashSet<RenderBox*> instead of the typedef. 9 10 No new tests, this is just a refactor. 11 12 * rendering/RenderTableSection.cpp: 13 (WebCore::RenderTableSection::layoutRows): 14 * rendering/RenderView.cpp: 15 (WebCore::RenderView::setFixedPositionedObjectsNeedLayout): 16 1 17 2012-09-04 Alec Flett <alecflett@chromium.org> 2 18 -
trunk/Source/WebCore/rendering/RenderTableSection.cpp
r126926 r127538 580 580 } 581 581 582 if ( ListHashSet<RenderBox*>* percentHeightDescendants = cell->percentHeightDescendants()) {583 ListHashSet<RenderBox*>::iterator end = percentHeightDescendants->end();584 for ( ListHashSet<RenderBox*>::iterator it = percentHeightDescendants->begin(); it != end; ++it) {582 if (TrackedRendererListHashSet* percentHeightDescendants = cell->percentHeightDescendants()) { 583 TrackedRendererListHashSet::iterator end = percentHeightDescendants->end(); 584 for (TrackedRendererListHashSet::iterator it = percentHeightDescendants->begin(); it != end; ++it) { 585 585 RenderBox* box = *it; 586 586 if (!box->isReplaced() && !box->scrollsOverflow() && !flexAllChildren) -
trunk/Source/WebCore/rendering/RenderView.cpp
r127267 r127538 942 942 ASSERT(m_frameView); 943 943 944 ListHashSet<RenderBox*>* positionedObjects = this->positionedObjects();944 TrackedRendererListHashSet* positionedObjects = this->positionedObjects(); 945 945 if (!positionedObjects) 946 946 return; 947 947 948 ListHashSet<RenderBox*>::const_iterator end = positionedObjects->end();949 for ( ListHashSet<RenderBox*>::const_iterator it = positionedObjects->begin(); it != end; ++it) {948 TrackedRendererListHashSet::const_iterator end = positionedObjects->end(); 949 for (TrackedRendererListHashSet::const_iterator it = positionedObjects->begin(); it != end; ++it) { 950 950 RenderBox* currBox = *it; 951 951 currBox->setNeedsLayout(true);
Note: See TracChangeset
for help on using the changeset viewer.