commit | dc9f0dbe4cdcdf6fead5fc28532d58f7d998a447 | [log] [tgz] |
---|---|---|
author | Mike Reed <reed@google.com> | Fri Mar 10 13:54:16 2017 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Mar 10 19:58:14 2017 +0000 |
tree | 2fd3b0ad0a817c95ea52588e6047a9324e4892c9 | |
parent | cccda60aca592d2320d79e2871e057778b2688ab [diff] [blame] |
Check for bad bounds in picture cullbounds BUG=skia: Change-Id: Icaed150fa005ba7539bcca4646710b42dfcbf94a Reviewed-on: https://skia-review.googlesource.com/9536 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
diff --git a/tests/CanvasTest.cpp b/tests/CanvasTest.cpp index c35e7b0..f6b275f 100644 --- a/tests/CanvasTest.cpp +++ b/tests/CanvasTest.cpp
@@ -98,6 +98,8 @@ { SkCanvas c(-10, -20); REPORTER_ASSERT(reporter, c.getBaseLayerSize() == SkISize::MakeEmpty()); + + SkPictureRecorder().beginRecording({ 5, 5, 4, 4 }); } }