aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkSurface.h
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2015-06-19 03:42:56 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-19 03:42:56 -0700
commitce777c9ea30f7c1192f75bbfa34df3d7b34cd962 (patch)
tree2407859ea82b76b277148179cdf2fda42bb23146 /include/core/SkSurface.h
parent9aa9e716ecba6f62b7ab3f9626f790dce96e61a5 (diff)
remove deprecated NewRasterPMColor
BUG=skia: TBR= Review URL: https://codereview.chromium.org/1192353002
Diffstat (limited to 'include/core/SkSurface.h')
-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);
}