Index: Source/core/html/canvas/CanvasRenderingContext2D.cpp |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.cpp b/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
index 84a4294e2697b7ceb24dd1a81faf75eaa08f334c..a2c331879613a4a8a33fd2af8f564c1b2e132949 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
@@ -677,16 +677,9 @@ void CanvasRenderingContext2D::setGlobalCompositeOperation(const String& operati |
c->setCompositeOperation(op, blendMode); |
} |
-void CanvasRenderingContext2D::setCurrentTransform(PassRefPtr<SVGMatrixTearOff> passMatrixTearOff, ExceptionState& exceptionState) |
+void CanvasRenderingContext2D::setCurrentTransform(PassRefPtr<SVGMatrixTearOff> passMatrixTearOff) |
{ |
RefPtr<SVGMatrixTearOff> matrixTearOff = passMatrixTearOff; |
- |
- // FIXME: bindings should do null checking and throw: http://crbug.com/321518 |
- if (!matrixTearOff) { |
- exceptionState.throwTypeError("currentTransform only accepts a SVGMatrix."); |
- return; |
- } |
- |
const AffineTransform& transform = matrixTearOff->value(); |
setTransform(transform.a(), transform.b(), transform.c(), transform.d(), transform.e(), transform.f()); |
} |