$OpenBSD$ index 2fe1371..5b85ef4 100644 --- content/canvas/src/CanvasRenderingContext2D.h.orig Fri Feb 20 15:40:36 2015 +++ content/canvas/src/CanvasRenderingContext2D.h Fri Feb 20 15:40:36 2015 @@ -236,10 +236,13 @@ public: bool DrawCustomFocusRing(mozilla::dom::Element& element); void Clip(const CanvasWindingRule& winding); void Clip(const CanvasPath& path, const CanvasWindingRule& winding); - bool IsPointInPath(double x, double y, const CanvasWindingRule& winding); - bool IsPointInPath(const CanvasPath& path, double x, double y, const CanvasWindingRule& winding); - bool IsPointInStroke(double x, double y); - bool IsPointInStroke(const CanvasPath& path, double x, double y); + bool IsPointInPath(JSContext* cx, double x, double y, + const CanvasWindingRule& winding); + bool IsPointInPath(JSContext* cx, const CanvasPath& path, double x, double y, + const CanvasWindingRule& winding); + bool IsPointInStroke(JSContext* cx, double x, double y); + bool IsPointInStroke(JSContext* cx, const CanvasPath& path, + double x, double y); void FillText(const nsAString& text, double x, double y, const Optional& maxWidth, mozilla::ErrorResult& error);