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
This commit is contained in:
parent
07f3ee10d3
commit
4b4fb3a52c
@ -290,7 +290,7 @@ struct SK_API SkIRect {
|
|||||||
void sort();
|
void sort();
|
||||||
|
|
||||||
static const SkIRect& EmptyIRect() {
|
static const SkIRect& EmptyIRect() {
|
||||||
static const SkIRect gEmpty = {0};
|
static const SkIRect gEmpty = { 0, 0, 0, 0 };
|
||||||
return gEmpty;
|
return gEmpty;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user