Changeset 137386 in webkit


Ignore:
Timestamp:
Dec 11, 2012 4:47:19 PM (11 years ago)
Author:
Simon Fraser
Message:

Remove redundant AffineTransform in RenderSVGShape::fillAndStrokeShape()
https://bugs.webkit.org/show_bug.cgi?id=104736

Reviewed by Dean Jackson.

RenderSVGShape::fillAndStrokeShape() allocated a AffineTransform on
the stack which was shadowed by another one in narrower scope. It
can be removed.

  • rendering/svg/RenderSVGShape.cpp:

(WebCore::RenderSVGShape::fillAndStrokeShape):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r137384 r137386  
     12012-12-11  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Remove redundant AffineTransform in RenderSVGShape::fillAndStrokeShape()
     4        https://bugs.webkit.org/show_bug.cgi?id=104736
     5
     6        Reviewed by Dean Jackson.
     7
     8        RenderSVGShape::fillAndStrokeShape() allocated a AffineTransform on
     9        the stack which was shadowed by another one in narrower scope. It
     10        can be removed.
     11
     12        * rendering/svg/RenderSVGShape.cpp:
     13        (WebCore::RenderSVGShape::fillAndStrokeShape):
     14
    1152012-12-11  Seokju Kwon  <seokju.kwon@gmail.com>
    216
  • trunk/Source/WebCore/rendering/svg/RenderSVGShape.cpp

    r133834 r137386  
    259259
    260260    GraphicsContextStateSaver stateSaver(*context, false);
    261     AffineTransform nonScalingTransform;
    262261
    263262    if (hasNonScalingStroke()) {
Note: See TracChangeset for help on using the changeset viewer.