Index: include/core/SkSurface.h |
diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h |
index 7563d09842b4c561a9554dd14815c4c9860e94e2..0e238f8429cbfdda1c13628af7b8bc2d27b54418 100644 |
--- a/include/core/SkSurface.h |
+++ b/include/core/SkSurface.h |
@@ -61,12 +61,7 @@ |
* 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); |
} |