Changeset 154730 in webkit for trunk/Source/WebCore/rendering/RenderGrid.cpp
- Timestamp:
- Aug 28, 2013, 2:58:33 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/Source/WebCore/rendering/RenderGrid.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/rendering/RenderGrid.cpp
r154546 r154730 34 34 namespace WebCore { 35 35 36 static const int infinity = intMaxForLayoutUnit;36 static const int infinity = -1; 37 37 38 38 class GridTrack { … … 304 304 if (trackLength.isFixed() || trackLength.isPercent() || trackLength.isViewportPercentage()) { 305 305 LayoutUnit computedBreadth = computeUsedBreadthOfSpecifiedLength(direction, trackLength); 306 // FIXME: We should ASSERT that computedBreadth cannot return infinity but it's currently 307 // possible. See https://bugs.webkit.org/show_bug.cgi?id=107053 306 ASSERT(computedBreadth != infinity); 308 307 return computedBreadth; 309 308 }
Note:
See TracChangeset
for help on using the changeset viewer.