add more SK_WARN_UNUSED_RESULT attributes to functions that ignore out-params if they fail
BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2012943003 TBR= Review-Url: https://codereview.chromium.org/2012943003
This commit is contained in:
parent
649becde3b
commit
497290824f
@ -24,9 +24,9 @@ public:
|
||||
|
||||
void setClip(const SkIRect& clip);
|
||||
|
||||
bool clipCubic(const SkPoint src[4], SkPoint dst[4]);
|
||||
bool SK_WARN_UNUSED_RESULT clipCubic(const SkPoint src[4], SkPoint dst[4]);
|
||||
|
||||
static bool ChopMonoAtY(const SkPoint pts[4], SkScalar y, SkScalar* t);
|
||||
static bool SK_WARN_UNUSED_RESULT ChopMonoAtY(const SkPoint pts[4], SkScalar y, SkScalar* t);
|
||||
private:
|
||||
SkRect fClip;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user