diff --git a/src/CanvasRenderingContext2d.cc b/src/CanvasRenderingContext2d.cc index d36620c..7d4e123 100644 --- a/src/CanvasRenderingContext2d.cc +++ b/src/CanvasRenderingContext2d.cc @@ -405,7 +405,6 @@ Context2d::DrawImage(const Arguments &args) { #endif // TODO: instanceof - // TODO: arg handling / boundaries Image *img = ObjectWrap::Unwrap(args[0]->ToObject()); Context2d *context = ObjectWrap::Unwrap(args.This()); cairo_t *ctx = context->context(); @@ -444,7 +443,6 @@ Context2d::DrawImage(const Arguments &args) { dh = img->height; break; default: - // TODO: throw return ThrowException(Exception::TypeError(String::New("invalid arguments"))); }