Revert "Revert "add SK_ATTR_DEPRECATED -- will need to disable for chrome, since it triggers a warning""
This reverts commit 1e787c38fa71f2a21fd728f1b1d620b9b09b0d3d.
BUG=
Review URL: https://codereview.chromium.org/54603004
git-svn-id: http://skia.googlecode.com/svn/trunk@12057 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/core/SkPoint.h b/include/core/SkPoint.h
index 5eca72f..b94f730 100644
--- a/include/core/SkPoint.h
+++ b/include/core/SkPoint.h
@@ -353,7 +353,7 @@
/** Return true if this point and the given point are far enough apart
such that a vector between them would be non-degenerate.
- WARNING: Unlike the deprecated version of equalsWithinTolerance(),
+ WARNING: Unlike the explicit tolerance version,
this method does not use componentwise comparison. Instead, it
uses a comparison designed to match judgments elsewhere regarding
degeneracy ("points A and B are so close that the vector between them
@@ -363,10 +363,7 @@
return !CanNormalize(fX - p.fX, fY - p.fY);
}
- /** DEPRECATED: Return true if this and the given point are componentwise
- within tolerance "tol".
-
- WARNING: There is no guarantee that the result will reflect judgments
+ /** WARNING: There is no guarantee that the result will reflect judgments
elsewhere regarding degeneracy ("points A and B are so close that the
vector between them is essentially zero").
*/