From 09dfc4759e99229e7c74891a88596e8b9b3d9026 Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Wed, 13 Sep 2017 15:25:47 -0400 Subject: 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 Commit-Queue: Robert Phillips --- tests/CanvasTest.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/CanvasTest.cpp') 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 static void multi_canvas_driver(int w, int h, F proc) { proc(SkPictureRecorder().beginRecording(SkRect::MakeIWH(w, h))); @@ -116,7 +115,6 @@ template 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) { -- cgit v1.2.3