Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Unified Diff: tests/RecorderTest.cpp

Issue 238353007: initialize bounds in this test (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/RecorderTest.cpp
diff --git a/tests/RecorderTest.cpp b/tests/RecorderTest.cpp
index 570bce8a3c299119e4306e5ca114286a78d992e4..384425ddc241f2890a505bc809f76057c18e30b9 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();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698