Fixes from Sk/Gr rect unification.
git-svn-id: http://skia.googlecode.com/svn/trunk@1288 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/core/SkRect.h b/include/core/SkRect.h
index 49acf63..eb8815c 100644
--- a/include/core/SkRect.h
+++ b/include/core/SkRect.h
@@ -498,8 +498,8 @@
void growToInclude(SkScalar x, SkScalar y) {
fLeft = SkMinScalar(x, fLeft);
- fRight = SkMaxScalar(y, fRight);
- fTop = SkMinScalar(x, fTop);
+ fRight = SkMaxScalar(x, fRight);
+ fTop = SkMinScalar(y, fTop);
fBottom = SkMaxScalar(y, fBottom);
}