From ce777c9ea30f7c1192f75bbfa34df3d7b34cd962 Mon Sep 17 00:00:00 2001 From: reed Date: Fri, 19 Jun 2015 03:42:56 -0700 Subject: remove deprecated NewRasterPMColor BUG=skia: TBR= Review URL: https://codereview.chromium.org/1192353002 --- include/core/SkSurface.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/core/SkSurface.h') diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h index 2df98657a5..de84766647 100644 --- a/include/core/SkSurface.h +++ b/include/core/SkSurface.h @@ -76,11 +76,6 @@ public: * specified width and height, and populates the rest of info to match * pixels in SkPMColor format. */ -#ifdef SK_SUPPORT_LEGACY_NewRasterPMColor - static SkSurface* NewRasterPMColor(int width, int height, const SkSurfaceProps* props = NULL) { - return NewRaster(SkImageInfo::MakeN32Premul(width, height), props); - } -#endif static SkSurface* NewRasterN32Premul(int width, int height, const SkSurfaceProps* props = NULL) { return NewRaster(SkImageInfo::MakeN32Premul(width, height), props); } -- cgit v1.2.3