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
diff --git a/tests/DeviceLooperTest.cpp b/tests/DeviceLooperTest.cpp
index 488719c..bb41f81 100644
--- a/tests/DeviceLooperTest.cpp
+++ b/tests/DeviceLooperTest.cpp
@@ -23,11 +23,11 @@
}
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