From 1f2f338e23789f3eef168dcbd8171a28820ba6c1 Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Thu, 29 Aug 2013 11:54:56 +0000 Subject: Split SkDevice into SkBaseDevice and SkBitmapDevice https://codereview.chromium.org/22978012/ git-svn-id: http://skia.googlecode.com/svn/trunk@10995 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/GradientTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/GradientTest.cpp') diff --git a/tests/GradientTest.cpp b/tests/GradientTest.cpp index cf8fbee206..24ffb53151 100644 --- a/tests/GradientTest.cpp +++ b/tests/GradientTest.cpp @@ -6,12 +6,12 @@ * found in the LICENSE file. */ #include "Test.h" -#include "SkDevice.h" -#include "SkTemplates.h" -#include "SkShader.h" +#include "SkBitmapDevice.h" #include "SkColorShader.h" #include "SkEmptyShader.h" #include "SkGradientShader.h" +#include "SkShader.h" +#include "SkTemplates.h" struct GradRec { int fColorCount; @@ -146,7 +146,7 @@ static void TestConstantGradient(skiatest::Reporter*) { outBitmap.allocPixels(); SkPaint paint; paint.setShader(s.get()); - SkDevice device(outBitmap); + SkBitmapDevice device(outBitmap); SkCanvas canvas(&device); canvas.drawPaint(paint); SkAutoLockPixels alp(outBitmap); -- cgit v1.2.3