remove deprecated NewRasterPMColor
BUG=skia: TBR= Review URL: https://codereview.chromium.org/1192353002
This commit is contained in:
parent
9aa9e716ec
commit
ce777c9ea3
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user