Index: Source/core/html/canvas/CanvasRenderingContext2D.cpp |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.cpp b/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
index 3529068fc8eb02e2a53845a328a82edda2395576..1e3d7f6fd759c609e7570bece7847488043cb0e4 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
@@ -1067,7 +1067,7 @@ void CanvasRenderingContext2D::strokeInternal(const Path& path) |
FloatRect bounds = path.boundingRect(); |
inflateStrokeRect(bounds); |
FloatRect dirtyRect; |
- if (computeDirtyRect(bounds, &dirtyRect)) { |
+ if (computeDirtyRect(bounds, clipBounds, &dirtyRect)) { |
c->strokePath(path); |
didDraw(dirtyRect); |
} |
@@ -1335,7 +1335,7 @@ void CanvasRenderingContext2D::strokeRect(float x, float y, float width, float h |
FloatRect boundingRect = rect; |
boundingRect.inflate(state().m_lineWidth / 2); |
FloatRect dirtyRect; |
- if (computeDirtyRect(boundingRect, &dirtyRect)) { |
+ if (computeDirtyRect(boundingRect, clipBounds, &dirtyRect)) { |
c->strokeRect(rect); |
didDraw(dirtyRect); |
} |