Changeset 112336 in webkit
- Timestamp:
- Mar 27, 2012 5:12:30 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r112333 r112336 1 2012-03-27 Luke Macpherson <macpherson@chromium.org> 2 3 Add assertions to valueForLength() and RenderBox::computeLogicalWidthInRegionUsing() to help with debugging. 4 https://bugs.webkit.org/show_bug.cgi?id=82393 5 6 Reviewed by Eric Seidel. 7 8 No new tests / adding assetions only. 9 10 * css/LengthFunctions.cpp: 11 (WebCore::valueForLength): 12 * rendering/RenderBox.cpp: 13 (WebCore::RenderBox::computeLogicalWidthInRegionUsing): 14 1 15 2012-03-27 Tony Chang <tony@chromium.org> 2 16 -
trunk/Source/WebCore/css/LengthFunctions.cpp
r112301 r112336 81 81 case Auto: 82 82 return maximumValue; 83 // multiple assertions are used below to provide more useful debug output. 83 84 case Relative: 85 ASSERT_NOT_REACHED(); 84 86 case Intrinsic: 87 ASSERT_NOT_REACHED(); 85 88 case MinIntrinsic: 89 ASSERT_NOT_REACHED(); 86 90 case Undefined: 87 91 ASSERT_NOT_REACHED(); -
trunk/Source/WebCore/rendering/RenderBox.cpp
r112301 r112336 1845 1845 else 1846 1846 logicalWidth = styleToUse->logicalMaxWidth(); 1847 1848 ASSERT(!logicalWidth.isUndefined()); 1847 1849 1848 1850 if (logicalWidth.isIntrinsicOrAuto()) {
Note: See TracChangeset
for help on using the changeset viewer.