Title: [137386] trunk/Source/WebCore
- Revision
- 137386
- Author
- [email protected]
- Date
- 2012-12-11 16:47:19 -0800 (Tue, 11 Dec 2012)
Log 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):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (137385 => 137386)
--- trunk/Source/WebCore/ChangeLog 2012-12-12 00:40:05 UTC (rev 137385)
+++ trunk/Source/WebCore/ChangeLog 2012-12-12 00:47:19 UTC (rev 137386)
@@ -1,3 +1,17 @@
+2012-12-11 Simon Fraser <[email protected]>
+
+ 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):
+
2012-12-11 Seokju Kwon <[email protected]>
[EFL] Remove unused headers
Modified: trunk/Source/WebCore/rendering/svg/RenderSVGShape.cpp (137385 => 137386)
--- trunk/Source/WebCore/rendering/svg/RenderSVGShape.cpp 2012-12-12 00:40:05 UTC (rev 137385)
+++ trunk/Source/WebCore/rendering/svg/RenderSVGShape.cpp 2012-12-12 00:47:19 UTC (rev 137386)
@@ -258,7 +258,6 @@
return;
GraphicsContextStateSaver stateSaver(*context, false);
- AffineTransform nonScalingTransform;
if (hasNonScalingStroke()) {
AffineTransform nonScalingTransform = nonScalingStrokeTransform();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes