From a8918a065075dece6e407cce0dfddf110e5d61a9 Mon Sep 17 00:00:00 2001 From: reed Date: Tue, 9 Dec 2014 13:55:20 -0800 Subject: Revert of remove (dumb) canvas::NewRaster, and rename surface::NewRasterPMColor to N32Premul (patchset #3 id:40001 of https://codereview.chromium.org/790733003/) Reason for revert: need to update chrome first Original issue's description: > remove (dumb) canvas::NewRaster, and rename surface::NewRasterPMColor to N32Premul > > patch from issue 781403002 at patchset 20001 (http://crrev.com/781403002#ps20001) > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/2c1605a1fbaa2e35a27399a34254fb1200ec2ae6 TBR=fmalita@google.com,fmalita@chromium.org NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/791763002 --- tests/DrawBitmapRectTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/DrawBitmapRectTest.cpp') diff --git a/tests/DrawBitmapRectTest.cpp b/tests/DrawBitmapRectTest.cpp index c1e34a2612..71ad2cf733 100644 --- a/tests/DrawBitmapRectTest.cpp +++ b/tests/DrawBitmapRectTest.cpp @@ -43,7 +43,7 @@ static void test_faulty_pixelref(skiatest::Reporter* reporter) { REPORTER_ASSERT(reporter, installSuccess); // now our bitmap has a pixelref, but we know it will fail to lock - SkAutoTUnref surface(SkSurface::NewRasterN32Premul(200, 200)); + SkAutoTUnref surface(SkSurface::NewRasterPMColor(200, 200)); SkCanvas* canvas = surface->getCanvas(); const SkPaint::FilterLevel levels[] = { -- cgit v1.2.3