diff --git a/content/canvas/src/nsCanvasRenderingContext2DAzure.cpp b/content/canvas/src/nsCanvasRenderingContext2DAzure.cpp index db53ac8d8ed4..19083ab0ce24 100644 --- a/content/canvas/src/nsCanvasRenderingContext2DAzure.cpp +++ b/content/canvas/src/nsCanvasRenderingContext2DAzure.cpp @@ -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; }