Fix for Mac10.6 compiler error on tests\DeviceLooperTest.cpp

git-svn-id: http://skia.googlecode.com/svn/trunk@11337 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
robertphillips@google.com 2013-09-18 12:06:02 +00:00
parent 2291e72b99
commit 697b2121a3

View File

@ -23,11 +23,11 @@ static bool equal(const SkRasterClip& a, const SkRasterClip& b) {
}
static void test_simple(skiatest::Reporter* reporter) {
struct {
static const struct {
SkISize fDevSize;
SkIRect fRCBounds;
SkIRect fRect;
} const gRec[] = {
} gRec[] = {
{ { 4000, 10 }, { 0, 0, 4000, 10 }, { 0, 0, 4000, 4000 } },
{ { 10, 4000 }, { 0, 0, 10, 4000 }, { 0, 0, 4000, 4000 } },
// very large devce, small rect