diff options
author | Robert Phillips <robertphillips@google.com> | 2017-09-13 15:25:47 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-09-13 19:49:47 +0000 |
commit | 09dfc4759e99229e7c74891a88596e8b9b3d9026 (patch) | |
tree | 29131ab740739a098a8cd19f103a08a711394605 /tests/CanvasTest.cpp | |
parent | b493eebca14aefbd5f22fb5d45ba978b19db4b18 (diff) |
Pull non-substantive changes out of explicit GPU resource allocation CL
Change-Id: Ib6a289553ecd15c722599b7dc0d347a7800801cb
Reviewed-on: https://skia-review.googlesource.com/46284
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'tests/CanvasTest.cpp')
-rw-r--r-- | tests/CanvasTest.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/CanvasTest.cpp b/tests/CanvasTest.cpp index e64f5e95f7..7aaf554015 100644 --- a/tests/CanvasTest.cpp +++ b/tests/CanvasTest.cpp @@ -105,8 +105,7 @@ DEF_TEST(canvas_clipbounds, reporter) { } } -// Will call proc with multiple styles of canse (recording, raster, pdf) -// +// Will call proc with multiple styles of canvas (recording, raster, pdf) template <typename F> static void multi_canvas_driver(int w, int h, F proc) { proc(SkPictureRecorder().beginRecording(SkRect::MakeIWH(w, h))); @@ -116,7 +115,6 @@ template <typename F> static void multi_canvas_driver(int w, int h, F proc) { proc(SkSurface::MakeRasterN32Premul(w, h, nullptr)->getCanvas()); } - const SkIRect gBaseRestrictedR = { 0, 0, 10, 10 }; static void test_restriction(skiatest::Reporter* reporter, SkCanvas* canvas) { |