aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-02-24 21:21:51 +0000
committerGravatar djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-02-24 21:21:51 +0000
commit3cc0d8a6f0feb66a60d3edac12c5a12a0e92ae93 (patch)
tree1336d617b93b5d4da007fe700befbd893cf522cb /include
parent42bbef71c7ccba831caec84a9ab0e3ab15842de7 (diff)
reverting r3259 because of gm/test failure.
git-svn-id: http://skia.googlecode.com/svn/trunk@3260 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/core/SkCanvas.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index aa400d6ad4..058979d0f7 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -429,13 +429,7 @@ public:
@return true if the horizontal band is completely clipped out (i.e. does
not intersect the current clip)
*/
- bool quickRejectY(SkScalar top, SkScalar bottom, EdgeType et) const {
- SkASSERT(SkScalarToCompareType(top) >= SkScalarToCompareType(bottom));
-
- const SkRectCompareType& clipR = this->getLocalClipBoundsCompareType(et);
- return SkScalarToCompareType(top) >= clipR.fBottom ||
- SkScalarToCompareType(bottom) <= clipR.fTop;
- }
+ bool quickRejectY(SkScalar top, SkScalar bottom, EdgeType et) const;
/** Return the bounds of the current clip (in local coordinates) in the
bounds parameter, and return true if it is non-empty. This can be useful