fix autobounds dude to call a custom version of rect.join that doesn't ignore
empty rects (since path.bounds must be the bounds of its control-pts, including
empty subcontours)



git-svn-id: http://skia.googlecode.com/svn/trunk@2679 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp
index b869329..5e9a520 100644
--- a/tests/PathTest.cpp
+++ b/tests/PathTest.cpp
@@ -23,10 +23,10 @@
 
 static void test_bounds(skiatest::Reporter* reporter) {
     static const SkRect rects[] = {
-        { 10, 160, 610, 160 },
-        { 610, 160, 610, 199 },
-        { 10, 198, 610, 199 },
-        { 10, 160, 10, 199 },
+        { SkIntToScalar(10), SkIntToScalar(160), SkIntToScalar(610), SkIntToScalar(160) },
+        { SkIntToScalar(610), SkIntToScalar(160), SkIntToScalar(610), SkIntToScalar(199) },
+        { SkIntToScalar(10), SkIntToScalar(198), SkIntToScalar(610), SkIntToScalar(199) },
+        { SkIntToScalar(10), SkIntToScalar(160), SkIntToScalar(10), SkIntToScalar(199) },
     };
 
     SkPath path0, path1;
@@ -617,7 +617,7 @@
 
     test_flattening(reporter);
     test_transform(reporter);
-//    test_bounds(reporter);
+    test_bounds(reporter);
 }
 
 #include "TestClassDef.h"