aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-18 12:06:02 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-18 12:06:02 +0000
commit697b2121a3877203444bc47d863e6857217d8cc9 (patch)
treec38fd955880e99bc4f5a44fc8d6ce5f0c1c3f8bc
parent2291e72b998244f3b4426b7307967b096ab13b1a (diff)
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
-rw-r--r--tests/DeviceLooperTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/DeviceLooperTest.cpp b/tests/DeviceLooperTest.cpp
index 488719c1b8..bb41f81153 100644
--- a/tests/DeviceLooperTest.cpp
+++ b/tests/DeviceLooperTest.cpp
@@ -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