From 58d1466c7773984b7ce4bd75ebf7c97cd42f7d12 Mon Sep 17 00:00:00 2001 From: "senorblanco@chromium.org" Date: Mon, 3 Feb 2014 22:36:39 +0000 Subject: [PATCH] Fix skia_gpu=0 build. BUG=skia: TBR=bsalomon@google.com Review URL: https://codereview.chromium.org/132503006 git-svn-id: http://skia.googlecode.com/svn/trunk@13293 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/ImageFilterTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp index 5a41107734..2f046b94d0 100644 --- a/tests/ImageFilterTest.cpp +++ b/tests/ImageFilterTest.cpp @@ -230,8 +230,10 @@ DEF_TEST(ImageFilterCropRect, reporter) { test_crop_rects(&device, reporter); } +#if SK_SUPPORT_GPU DEF_GPUTEST(ImageFilterCropRectGPU, reporter, factory) { GrContext* context = factory->get(static_cast(0)); SkGpuDevice device(context, SkBitmap::kARGB_8888_Config, 100, 100); test_crop_rects(&device, reporter); } +#endif -- 2.34.1