aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-15 18:00:57 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-15 18:00:57 +0000
commit12a0412a5d27177da145891bcb4f351e2897dbcf (patch)
treefab136752ecaeb9f415000c42ed529794b3fa65c
parent64b08a1026851a84031713f0e12a3e59d55ce808 (diff)
initialize bounds in this test
BUG=skia: R=bungeman@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/238353007 git-svn-id: http://skia.googlecode.com/svn/trunk@14204 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--tests/RecorderTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/RecorderTest.cpp b/tests/RecorderTest.cpp
index 570bce8a3c..384425ddc2 100644
--- a/tests/RecorderTest.cpp
+++ b/tests/RecorderTest.cpp
@@ -50,7 +50,7 @@ DEF_TEST(Recorder_RefLeaking, r) {
// - its SkRect argument is optional and SkRect is POD. Just testing that that works.
// - its SkPaint argument is optional and SkPaint is not POD. The bug was here.
- SkRect bounds;
+ SkRect bounds = SkRect::MakeWH(320, 240);
SkPaint paint;
paint.setShader(SkNEW(SkEmptyShader))->unref();