Changeset 165346 in webkit
- Timestamp:
- Mar 8, 2014 6:38:58 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r165344 r165346 1 2014-03-08 Zalan Bujtas <zalan@apple.com> 2 3 RenderElement::valueForLength() callers misuse bool parameter. 4 https://bugs.webkit.org/show_bug.cgi?id=129982 5 6 Reviewed by Andreas Kling. 7 8 Remove bogus RenderView* parameter. 9 10 * rendering/RenderBox.cpp: 11 (WebCore::RenderBox::computePercentageLogicalHeight): 12 * rendering/RenderElement.cpp: 13 (WebCore::RenderElement::repaintAfterLayoutIfNeeded): 14 1 15 2014-03-08 Jeremy Jones <jeremyj@apple.com> 2 16 -
trunk/Source/WebCore/rendering/RenderBox.cpp
r165113 r165346 2776 2776 } 2777 2777 } else if (cbstyle.logicalHeight().isViewportPercentage()) { 2778 LayoutUnit heightWithScrollbar = valueForLength(cbstyle.logicalHeight(), 0 , &view());2778 LayoutUnit heightWithScrollbar = valueForLength(cbstyle.logicalHeight(), 0); 2779 2779 if (heightWithScrollbar != -1) { 2780 2780 LayoutUnit contentBoxHeightWithScrollbar = cb->adjustContentBoxLogicalHeightForBoxSizing(heightWithScrollbar); -
trunk/Source/WebCore/rendering/RenderElement.cpp
r165113 r165346 1278 1278 LayoutUnit boxHeight = isBox() ? toRenderBox(this)->height() : LayoutUnit(); 1279 1279 LayoutUnit minInsetBottomShadowExtent = std::min<LayoutUnit>(-insetShadowExtent.bottom(), std::min<LayoutUnit>(newBounds.height(), oldBounds.height())); 1280 LayoutUnit borderHeight = std::max<LayoutUnit>(borderBottom, std::max<LayoutUnit>(valueForLength(style().borderBottomLeftRadius().height(), boxHeight), valueForLength(style().borderBottomRightRadius().height(), boxHeight, &view()))); 1280 LayoutUnit borderHeight = std::max<LayoutUnit>(borderBottom, std::max<LayoutUnit>(valueForLength(style().borderBottomLeftRadius().height(), boxHeight), 1281 valueForLength(style().borderBottomRightRadius().height(), boxHeight))); 1281 1282 LayoutUnit decorationsHeight = std::max<LayoutUnit>(-outlineStyle.outlineOffset(), borderHeight + minInsetBottomShadowExtent) + std::max<LayoutUnit>(outlineWidth, shadowBottom); 1282 1283 LayoutRect bottomRect(newOutlineBox.x(),
Note: See TracChangeset
for help on using the changeset viewer.