Skip to content

Commit

Permalink
Backout Bug 691646 for causing reftest failures on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
longsonr committed Oct 4, 2011
1 parent 1085599 commit 66383ea
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 24 deletions.
7 changes: 0 additions & 7 deletions layout/reftests/svg/pattern-scale-01-ref.svg

This file was deleted.

12 changes: 0 additions & 12 deletions layout/reftests/svg/pattern-scale-01.svg

This file was deleted.

1 change: 0 additions & 1 deletion layout/reftests/svg/reftest.list
Expand Up @@ -176,7 +176,6 @@ fails-if(Android&&layersOpenGL) == path-04.svg pass.svg
== pattern-live-01a.svg pattern-live-01-ref.svg
== pattern-live-01b.svg pattern-live-01-ref.svg
== pattern-live-01c.svg pattern-live-01-ref.svg
== pattern-scale-01.svg pattern-scale-01-ref.svg
== pattern-transform-presence-01.svg pattern-transform-presence-01-ref.svg
== polygon-marker-01.svg pass.svg
== polygon-points-negative-01.svg pass.svg
Expand Down
6 changes: 2 additions & 4 deletions layout/svg/base/src/nsSVGPatternFrame.cpp
Expand Up @@ -261,10 +261,8 @@ nsSVGPatternFrame::PaintPattern(gfxASurface** surface,

bool resultOverflows;
gfxIntSize surfaceSize =
nsSVGUtils::ConvertToSurfaceSize(
gfxSize(patternWidth * fabs(patternMatrix->xx),
patternHeight * fabs(patternMatrix->yy)),
&resultOverflows);
nsSVGUtils::ConvertToSurfaceSize(gfxSize(patternWidth, patternHeight),
&resultOverflows);

// 0 disables rendering, < 0 is an error
if (surfaceSize.width <= 0 || surfaceSize.height <= 0)
Expand Down

0 comments on commit 66383ea

Please sign in to comment.