diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-04 14:59:55 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-04 14:59:55 +0000 |
commit | b755a2ace7be5bd007bc3a374d0d2bd68af92788 (patch) | |
tree | 35def319b51964761aa3a7140e0b239b25a95a4a /tests | |
parent | 0cb80e11909144e0217955af9d6ceb1207fe71d0 (diff) |
Fix Mac 10.8 64-bit Release ClipCacheTest issue
unreviewed
git-svn-id: http://skia.googlecode.com/svn/trunk@7957 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ClipCacheTest.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/ClipCacheTest.cpp b/tests/ClipCacheTest.cpp index 2186a6dba9..d27013096d 100644 --- a/tests/ClipCacheTest.cpp +++ b/tests/ClipCacheTest.cpp @@ -61,8 +61,11 @@ static void test_clip_bounds(skiatest::Reporter* reporter, GrContext* context) { GrAutoUnref au(texture); SkIRect intScreen = SkIRect::MakeWH(kXSize, kYSize); - SkRect screen = SkRect::MakeWH(SkIntToScalar(kXSize), - SkIntToScalar(kYSize)); + SkRect screen; + + screen = SkRect::MakeWH(SkIntToScalar(kXSize), + SkIntToScalar(kYSize)); + SkRect clipRect(screen); clipRect.outset(10, 10); |