aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/core/SkSurface.h5
1 files changed, 0 insertions, 5 deletions
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);
}