Changeset 112284 in webkit


Ignore:
Timestamp:
Mar 27, 2012 11:03:32 AM (12 years ago)
Author:
leviw@chromium.org
Message:

Correct SVG paint functions that are still using IntPoints
https://bugs.webkit.org/show_bug.cgi?id=82343

Reviewed by Eric Seidel.

Two small corrections to SVG paint functions that should use LayoutPoint instead
of IntPoint.

No new tests. No change in behavior.

  • rendering/svg/RenderSVGShape.cpp:

(WebCore::RenderSVGShape::paint):

  • rendering/svg/RenderSVGText.cpp:

(WebCore::RenderSVGText::paint):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r112283 r112284  
     12012-03-27  Levi Weintraub  <leviw@chromium.org>
     2
     3        Correct SVG paint functions that are still using IntPoints
     4        https://bugs.webkit.org/show_bug.cgi?id=82343
     5
     6        Reviewed by Eric Seidel.
     7
     8        Two small corrections to SVG paint functions that should use LayoutPoint instead
     9        of IntPoint.
     10
     11        No new tests. No change in behavior.
     12
     13        * rendering/svg/RenderSVGShape.cpp:
     14        (WebCore::RenderSVGShape::paint):
     15        * rendering/svg/RenderSVGText.cpp:
     16        (WebCore::RenderSVGText::paint):
     17
    1182012-03-27  Zalan Bujtas  <zbujtas@gmail.com>
    219
  • trunk/Source/WebCore/rendering/svg/RenderSVGShape.cpp

    r110285 r112284  
    319319}
    320320
    321 void RenderSVGShape::paint(PaintInfo& paintInfo, const IntPoint&)
     321void RenderSVGShape::paint(PaintInfo& paintInfo, const LayoutPoint&)
    322322{
    323323    if (paintInfo.context->paintingDisabled() || style()->visibility() == HIDDEN || isEmpty())
  • trunk/Source/WebCore/rendering/svg/RenderSVGText.cpp

    r112119 r112284  
    334334    GraphicsContextStateSaver stateSaver(*blockInfo.context);
    335335    blockInfo.applyTransform(localToParentTransform());
    336     RenderBlock::paint(blockInfo, IntPoint());
     336    RenderBlock::paint(blockInfo, LayoutPoint());
    337337}
    338338
Note: See TracChangeset for help on using the changeset viewer.