Ignore:
Timestamp:
Sep 20, 2013, 8:34:19 AM (12 years ago)
Author:
[email protected]
Message:

Add valueForLength/minimumValueForLength wrappers to RenderElement.
<https://webkit.org/b/121676>

Reviewed by Antti Koivisto.

Add two inline wrappers for these functions so we don't have to pass
the RenderView everywhere.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/rendering/RenderGrid.cpp

    r155687 r156166  
    316316    // FIXME: We still need to support calc() here (https://webkit.org/b/103761).
    317317    ASSERT(trackLength.isFixed() || trackLength.isPercent() || trackLength.isViewportPercentage());
    318     return valueForLength(trackLength, direction == ForColumns ? logicalWidth() : computeContentLogicalHeight(style()->logicalHeight()), &view());
     318    return valueForLength(trackLength, direction == ForColumns ? logicalWidth() : computeContentLogicalHeight(style()->logicalHeight()));
    319319}
    320320
Note: See TracChangeset for help on using the changeset viewer.