Index: Source/core/rendering/shapes/Shape.cpp |
diff --git a/Source/core/rendering/shapes/Shape.cpp b/Source/core/rendering/shapes/Shape.cpp |
index d013a93ae0a21f8767a6ade261824e7c26837a8b..60925382763bf6d47b74089eac45ee46e5973f2f 100644 |
--- a/Source/core/rendering/shapes/Shape.cpp |
+++ b/Source/core/rendering/shapes/Shape.cpp |
@@ -202,7 +202,7 @@ PassOwnPtr<Shape> Shape::createRasterShape(Image* image, float threshold, const |
if (startX == -1 && alphaAboveThreshold) { |
startX = x; |
} else if (startX != -1 && (!alphaAboveThreshold || x == imageRect.width() - 1)) { |
- intervals->appendInterval(y + imageRect.y(), startX + imageRect.x(), x + imageRect.x()); |
+ intervals->intervalAt(y + imageRect.y()).unite(IntShapeInterval(startX + imageRect.x(), x + imageRect.x())); |
startX = -1; |
} |
} |