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

Unified Diff: include/core/SkRect.h

Issue 1724283003: Revert of Simple cleanups related to SkFixed. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 4 years, 10 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 | « include/core/SkFixed.h ('k') | samplecode/SampleText.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkRect.h
diff --git a/include/core/SkRect.h b/include/core/SkRect.h
index 3ebe099ae6385a2aa7a0fd124f1ccb87cd6ded5c..4f649b7c7325efcb82872f329eb83ac25d614198 100644
--- a/include/core/SkRect.h
+++ b/include/core/SkRect.h
@@ -463,7 +463,8 @@
/**
* Returns true iff all values in the rect are finite. If any are
- * infinite or NaN then this returns false.
+ * infinite or NaN (or SK_FixedNaN when SkScalar is fixed) then this
+ * returns false.
*/
bool isFinite() const {
float accum = 0;
« no previous file with comments | « include/core/SkFixed.h ('k') | samplecode/SampleText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698