Bug 779669 - Return error in GetMozDash. r=peterv

This commit is contained in:
Andrew McCreight 2012-08-06 08:12:06 -07:00
parent 0e9ed7fa01
commit e69ccef6c8

View File

@ -3570,7 +3570,7 @@ JS::Value
nsCanvasRenderingContext2DAzure::GetMozDash(JSContext* cx, ErrorResult& error)
{
JS::Value mozDash;
DashArrayToJSVal(CurrentState().dash, cx, &mozDash);
error = DashArrayToJSVal(CurrentState().dash, cx, &mozDash);
return mozDash;
}