⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 101097 in webkit


Ignore:
Timestamp:
Nov 23, 2011, 11:33:53 AM (15 years ago)
Author:
eae@chromium.org
Message:

Initialize Lengths from float css values as opposed to the rounded int values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/subpixellayout/Source/WebCore/css/CSSPrimitiveValue.cpp

    r100818 r101097  
    347347{
    348348    // FIXME: Length.h no longer expects 28 bit integers, so these bounds should be INT_MAX and INT_MIN
    349     return Length(roundForImpreciseConversion<int, intMaxForAppUnit, intMinForAppUnit>(computeLengthDouble(style, rootStyle, multiplier, computingFontSize)), Fixed);
     349    return Length(static_cast<float>(computeLengthDouble(style, rootStyle, multiplier, computingFontSize)), Fixed);
    350350}
    351351
Note: See TracChangeset for help on using the changeset viewer.