fully expand the initialization for rect (android compiler didn't like {0})
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 16 May 2011 18:24:19 +0000 (18:24 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 16 May 2011 18:24:19 +0000 (18:24 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@1336 2bbb7eff-a529-9590-31e7-b0007b416f81

include/core/SkRect.h

index 68a51d14e94169417c4295e4d8698158869f405a..19ee12a59690a596a92148a1d95829a0d511103b 100644 (file)
@@ -290,7 +290,7 @@ struct SK_API SkIRect {
     void sort();
 
     static const SkIRect& EmptyIRect() {
-        static const SkIRect gEmpty = {0};
+        static const SkIRect gEmpty = { 0, 0, 0, 0 };
         return gEmpty;
     }
 };