aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-05-16 18:24:19 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-05-16 18:24:19 +0000
commit4b4fb3a52c32cd4937d51d1315624545973b1322 (patch)
tree581e3f0c758e4875480654965a10e76eae52340b /include
parent07f3ee10d34f09342abb93d758b5e151ff78f7a5 (diff)
fully expand the initialization for rect (android compiler didn't like {0})
git-svn-id: http://skia.googlecode.com/svn/trunk@1336 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/core/SkRect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkRect.h b/include/core/SkRect.h
index 68a51d14e9..19ee12a596 100644
--- a/include/core/SkRect.h
+++ b/include/core/SkRect.h
@@ -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;
}
};