Changeset 75490 in webkit


Ignore:
Timestamp:
Jan 11, 2011 5:18:22 AM (13 years ago)
Author:
mrowe@apple.com
Message:

Roll out r75487 since it broke the 32-bit build.

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r75489 r75490  
    3434         * platform/image-encoders/skia/JPEGImageEncoder.cpp:
    3535         (WebCore::preMultipliedBGRAtoRGB): Use Porter-Duff source-over black.
    36 
    37 2011-01-11  François Sausset  <sausset@gmail.com>
    38 
    39         Reviewed by Eric Seidel.
    40 
    41         Code cleaning in rendering/mathml/RenderMathMLFraction.cpp
    42         https://bugs.webkit.org/show_bug.cgi?id=52201
    43 
    44         Replace unneeded doubles by floats and remove unneeded casts.
    45 
    46         * rendering/mathml/RenderMathMLFraction.cpp:
    47         (WebCore::RenderMathMLFraction::paint):
    48         * rendering/mathml/RenderMathMLFraction.h:
    4936
    50372011-01-11  Pavel Feldman  <pfeldman@chromium.org>
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLFraction.cpp

    r75487 r75490  
    3939using namespace MathMLNames;
    4040
    41 static const float gHorizontalPad = 0.2;
    42 static const float gLineThin = 0.33;
    43 static const float gLineMedium = 1.;
    44 static const float gLineThick = 3.;
    45 static const float gFractionBarWidth = 0.05;
    46 static const float gDenominatorPad = 0.1;
     41static const double gHorizontalPad = 0.2;
     42static const double gLineThin = 0.33;
     43static const double gLineMedium = 1.;
     44static const double gLineThick = 3.;
     45static const double gFractionBarWidth = 0.05;
     46static const double gDenominatorPad = 0.1;
    4747
    4848RenderMathMLFraction::RenderMathMLFraction(Element* fraction)
     
    158158    info.context->save();
    159159   
    160     info.context->setStrokeThickness(m_lineThickness);
     160    info.context->setStrokeThickness(static_cast<float>(m_lineThickness));
    161161    info.context->setStrokeStyle(SolidStroke);
    162162    info.context->setStrokeColor(style()->visitedDependentColor(CSSPropertyColor), ColorSpaceSRGB);
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLFraction.h

    r75487 r75490  
    4444    virtual void layout();
    4545private:
    46     float m_lineThickness;
     46    double m_lineThickness;
    4747};
    4848
Note: See TracChangeset for help on using the changeset viewer.