Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: src/core/SkCubicClipper.h

Issue 2012943003: add more SK_WARN_UNUSED_RESULT attributes to functions that ignore out-params if they fail (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkCubicClipper.h
diff --git a/src/core/SkCubicClipper.h b/src/core/SkCubicClipper.h
index 617086edb9c8e61d63517517d7c4127eb9b256d9..f00c09ab5f9c73a009381835ba52f1f23c6e962b 100644
--- a/src/core/SkCubicClipper.h
+++ b/src/core/SkCubicClipper.h
@@ -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;
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698